1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

GCC provides -Wdiv-by-zero

This commit is contained in:
Nobuyoshi Nakada 2022-01-22 19:02:16 +09:00
parent c00e360bc0
commit 2c25427496
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -641,7 +641,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"],
]) ])
for wflag in \ for wflag in \
-Werror=deprecated-declarations \ -Werror=deprecated-declarations \
-Werror=division-by-zero \ -Werror=division-by-zero -Werror=div-by-zero \
-Werror=duplicated-cond \ -Werror=duplicated-cond \
-Werror=implicit-function-declaration \ -Werror=implicit-function-declaration \
-Werror=implicit-int \ -Werror=implicit-int \