Skip to content

Commit

Permalink
SunCC: Don't complain about integer promotions in vcl generated C (vgc)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
nigoroll committed Nov 1, 2024
1 parent fe0e29e commit d24cc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit d24cc29

Please sign in to comment.