File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,17 +43,19 @@ param = -std=c++20 -pedantic-errors -Wall
4343# Common debug params regardless of clang++ or g++
4444common_debug = -Wextra -Werror -Wshadow -ggdb
4545# Slightly different between MacOS and Linux
46- ifeq ($(uname_s ) , Darwin)
47- compiler = clang++
46+ ifeq ($(uname_s ) , Darwin) # macOS
47+ compiler = clang++
4848 debug_param = $(common_debug) -Wsign-conversion -Weffc++
49- else ifeq ($(uname_s), Linux)
50- compiler = g++-13
49+ else ifeq ($(uname_s), Linux) # Linux
50+ # Works fine with g++-12 (Void linux doesn't have g++-13 yet)
51+ compiler = g++
52+ # compiler = g++-13
5153 # -fanalyzer bugs out on standard library
5254 # -Wsign-conversion doesn't like std::size_t on Linux (warning for long unsigned int -> long long unsigned int
5355 # possibly changing signed, even though both unsigned)
5456 # debug_param = $(common_debug) -fanalyzer -Wsign-conversion -Weffc++
5557 debug_param = $(common_debug) -Weffc++
56- else
58+ else # Windows
5759 compiler = g++
5860 debug_param = $(common_debug) -Weffc++
5961endif
You can’t perform that action at this time.
0 commit comments