зеркало из https://github.com/github/ruby.git
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:
Родитель
113ddf4d1d
Коммит
8b32de2ec9
|
@ -627,6 +627,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"],
|
||||||
-Werror=pointer-arith \
|
-Werror=pointer-arith \
|
||||||
-Werror=shorten-64-to-32 \
|
-Werror=shorten-64-to-32 \
|
||||||
-Werror=write-strings \
|
-Werror=write-strings \
|
||||||
|
-Werror=undef \
|
||||||
-Wimplicit-fallthrough=0 \
|
-Wimplicit-fallthrough=0 \
|
||||||
-Wmissing-noreturn \
|
-Wmissing-noreturn \
|
||||||
-Wno-cast-function-type \
|
-Wno-cast-function-type \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче