Skip to content

Commit c9d8818

Browse files
committed
Use -Wpedantic instead of -pedantic
1 parent 903563d commit c9d8818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake-init/templates/common/CMakePresets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"name": "flags-unix",
3232
"hidden": true,
3333
"cacheVariables": {
34-
"CMAKE_C{if cpp}XX{end}_FLAGS": "-Wall -Wextra -pedantic{if c} -Wstrict-prototypes{end}",
34+
"CMAKE_C{if cpp}XX{end}_FLAGS": "-Wall -Wextra -Wpedantic{if c} -Wstrict-prototypes{end}",
3535
"CMAKE_C{if cpp}XX{end}_EXTENSIONS": "OFF"
3636
}
3737
},

0 commit comments

Comments
 (0)