bug#12164: What is the right way to specify -Wno-format-contains-nul?

2012-08-09 Thread Stefano Lattarini
severity 12164 wishlist tags 12164 wontfix thanks On 08/09/2012 09:58 PM, Bruce Korb wrote: > Hi, > > It seems that AM_PROG_CC > Huh? There is no such think like 'AM_PROG_CC'. I guess you mean AC_PROG_CC. > likes to default CFLAGS to "-g -Wall" > Since AC_PROG_CC comes from Autoconf, this is no

bug#12164: What is the right way to specify -Wno-format-contains-nul?

2012-08-09 Thread Bruce Korb
Hi, It seems that AM_PROG_CC likes to default CFLAGS to "-g -Wall" and COMPILE puts CFLAGS at the end of the option list. That means that -Wall over-rides my AM_CFLAGS setting and chokes and dies. My library uses a large array of bytes to hold many strings, some of which are formatting strings a