From 4f107e9feedb02e92d2c816567da605f07707253 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 24 Jul 2024 02:25:25 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Suggest=20gcc14=20for=20macOS=20?= =?UTF-8?q?Sim?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/libs/circularqueue.h | 2 +- ini/native.ini | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Marlin/src/libs/circularqueue.h b/Marlin/src/libs/circularqueue.h index 4d4a464b9c..693ccac844 100644 --- a/Marlin/src/libs/circularqueue.h +++ b/Marlin/src/libs/circularqueue.h @@ -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() { + CircularQueue() { buffer.size = N; buffer.count = buffer.head = buffer.tail = 0; } diff --git a/ini/native.ini b/ini/native.ini index 892653e10d..69233cdf00 100644 --- a/ini/native.ini +++ b/ini/native.ini @@ -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 @@ -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 if no Xcode is installed.