From d24cc294eb75b769def195575c574f4b44e872e5 Mon Sep 17 00:00:00 2001 From: Nils Goroll Date: Fri, 1 Nov 2024 08:33:31 +0100 Subject: [PATCH] SunCC: Don't complain about integer promotions in vcl generated C (vgc) seen with vmod/tests/directors_c00004.vtc: **** v1 CLI RX|"vgc.c", line 4473: constant promoted according to the 1999 ISO C standard (E_C99_INTEGER_PROMOTION) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b36c599f3e..44e1ed879c 100644 --- a/configure.ac +++ b/configure.ac @@ -860,7 +860,7 @@ else VCC_CC="exec $VCC_CC %w $PTHREAD_CFLAGS -fpic -shared -o %o %s" ;; *cc) - VCC_CC="exec $VCC_CC %w -errwarn=%%all,no%%E_STATEMENT_NOT_REACHED $PTHREAD_CFLAGS -Kpic -G -o %o %s" + VCC_CC="exec $VCC_CC %w -errwarn=%%all,no%%E_STATEMENT_NOT_REACHED,no%E_C99_INTEGER_PROMOTION $PTHREAD_CFLAGS -Kpic -G -o %o %s" ;; esac ;;