Skip to content

Commit ec1608b

Browse files
committed
auto/cc: gcc: Don't disable -Wunterminated-string-initialization
Now that we are able to use the "nonstring" variable attribute to quell this warning, we no longer need to disable it. The good thing is there was never a released version of GCC where the warning couldn't be quelled by the attribute. Fixes: 1503782 ("Fix build with GCC 15") Cc: Alejandro Colomar <[email protected]> Reviewed-by: Alejandro Colomar <[email protected]> Signed-off-by: Andrew Clayton <[email protected]>
1 parent d9c2fd7 commit ec1608b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

auto/cc/test

-4
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ case $NXT_CC_NAME in
9393

9494
NXT_CFLAGS="$NXT_CFLAGS -Wmissing-prototypes"
9595

96-
# Disable Wunterminated-string-initialization temporarily.
97-
# See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178#c21>
98-
NXT_CFLAGS="$NXT_CFLAGS -Wno-unterminated-string-initialization"
99-
10096
# Stop on warning.
10197
NXT_CFLAGS="$NXT_CFLAGS -Werror"
10298

0 commit comments

Comments
 (0)