Skip to content

Commit

Permalink
🔨 Suggest gcc14 for macOS Sim
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 24, 2024
1 parent 7844f3f commit 4f107e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/libs/circularqueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CircularQueue {
* of item this queue will handle and N defines the maximum number of
* items that can be stored on the queue.
*/
CircularQueue<T, N>() {
CircularQueue() {
buffer.size = N;
buffer.count = buffer.head = buffer.tail = 0;
}
Expand Down
8 changes: 4 additions & 4 deletions ini/native.ini
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}

#
# MacPorts:
# sudo port install gcc12 glm libsdl2 libsdl2_net
# sudo port install gcc14 glm libsdl2 libsdl2_net
#
# cd /opt/local/bin
# sudo rm gcc g++ cc ld
# sudo ln -s gcc-mp-12 gcc ; sudo ln -s g++-mp-12 g++ ; sudo ln -s g++ cc
# sudo ln -s gcc-mp-14 gcc ; sudo ln -s g++-mp-14 g++ ; sudo ln -s g++ cc
# sudo ln -s ld-classic ld
# cd -
# rehash
Expand All @@ -100,11 +100,11 @@ build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
# Homebrew:
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
#
# brew install gcc@12 glm sdl2 sdl2_net
# brew install gcc@14 glm sdl2 sdl2_net
#
# cd /opt/homebrew/bin
# sudo rm -f gcc g++ cc
# sudo ln -s gcc-12 gcc ; sudo ln -s g++-12 g++ ; sudo ln -s g++ cc
# sudo ln -s gcc-14 gcc ; sudo ln -s g++-14 g++ ; sudo ln -s g++ cc
# cd -
#
# Use 'brew install mesa' to get a <GL/gl.h> if no Xcode is installed.
Expand Down

0 comments on commit 4f107e9

Please sign in to comment.