Skip to content

Commit

Permalink
Use -Wpedantic instead of -pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlyanon committed Jun 29, 2021
1 parent 5653fce commit e46aee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake-init/templates/common/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"name": "flags-unix",
"hidden": true,
"cacheVariables": {
"CMAKE_C{if cpp}XX{end}_FLAGS": "-Wall -Wextra -Wpedantic{if c} -Wstrict-prototypes{end}",
"CMAKE_C{if cpp}XX{end}_FLAGS": "-Wall -Wextra -pedantic{if c} -Wstrict-prototypes{end}",
"CMAKE_C{if cpp}XX{end}_EXTENSIONS": "OFF"
}
},
Expand Down

0 comments on commit e46aee9

Please sign in to comment.