8000 Add -Werror=undef to default warnflags for core · github/ruby@8b32de2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b32de2

Browse files
committed
Add -Werror=undef to default warnflags for core
* See [Feature #17752] * For external extensions it's transformed to just warn and not error (-Wundef) like other other -Werror in warnflags.
1 parent 113ddf4 commit 8b32de2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"],
627627
-Werror=pointer-arith \
628628
-Werror=shorten-64-to-32 \
629629
-Werror=write-strings \
630+
-Werror=undef \
630631
-Wimplicit-fallthrough=0 \
631632
-Wmissing-noreturn \
632633
-Wno-cast-function-type \

0 commit comments

Comments
 (0)
0