Skip to content

Commit

Permalink
Add missing ignore unknown warning options to GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMatjaz committed Dec 16, 2024
1 parent f32fa3e commit 51538e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"generator": "Unix Makefiles",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_C_FLAGS_INIT": "-Wall -Wextra -pedantic -Wconversion -Wsign-conversion -Wdouble-promotion -Wswitch-default -Wswitch-enum -Wuninitialized -Wunused-variable -Wpacked -Wshadow -Waggregate-return -Wformat-security -Wlogical-not-parentheses -Wmissing-declarations -Wnull-dereference -Wduplicated-cond -Wno-padded -Wno-type-limits -Wno-float-equal -Wno-unused-command-line-argument",
"CMAKE_C_FLAGS_INIT": "-Wall -Wextra -pedantic -Wconversion -Wsign-conversion -Wdouble-promotion -Wswitch-default -Wswitch-enum -Wuninitialized -Wunused-variable -Wpacked -Wshadow -Waggregate-return -Wformat-security -Wlogical-not-parentheses -Wmissing-declarations -Wnull-dereference -Wduplicated-cond -Wno-padded -Wno-type-limits -Wno-float-equal -Wno-unused-command-line-argument -Wno-unknown-warning-option",
"CMAKE_C_FLAGS_DEBUG": "-O0 -g3 -DDEBUG=1",
"CMAKE_C_FLAGS_RELEASE": "-O3 -Werror",
"CMAKE_C_FLAGS_MINSIZEREL": "-Os -Werror"
Expand Down

0 comments on commit 51538e7

Please sign in to comment.