mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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.
This commit is contained in:
parent
113ddf4d1d
commit
8b32de2ec9
Notes:
git
2021-05-04 21:57:22 +09:00
1 changed files with 1 additions and 0 deletions
|
@ -627,6 +627,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"],
|
|||
-Werror=pointer-arith \
|
||||
-Werror=shorten-64-to-32 \
|
||||
-Werror=write-strings \
|
||||
-Werror=undef \
|
||||
-Wimplicit-fallthrough=0 \
|
||||
-Wmissing-noreturn \
|
||||
-Wno-cast-function-type \
|
||||
|
|
Loading…
Add table
Reference in a new issue