From ec1608b4cc1e9926e2da9f5591e883e4d42cc2fc Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Tue, 18 Mar 2025 05:44:54 +0000 Subject: 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: 150378224 ("Fix build with GCC 15") Cc: Alejandro Colomar Reviewed-by: Alejandro Colomar Signed-off-by: Andrew Clayton --- auto/cc/test | 4 ---- 1 file changed, 4 deletions(-) (limited to 'auto') diff --git a/auto/cc/test b/auto/cc/test index a8c176b2..ac4d5f33 100644 --- a/auto/cc/test +++ b/auto/cc/test @@ -93,10 +93,6 @@ case $NXT_CC_NAME in NXT_CFLAGS="$NXT_CFLAGS -Wmissing-prototypes" - # Disable Wunterminated-string-initialization temporarily. - # See - NXT_CFLAGS="$NXT_CFLAGS -Wno-unterminated-string-initialization" - # Stop on warning. NXT_CFLAGS="$NXT_CFLAGS -Werror" -- cgit