> On Fri, 19 Aug 2011, David Holland wrote: > >> I think we should make no changes to appease the compiler in > >> this case. [...] > > > > I would lean towards fixing the ones that can be fixed > > noninvasively; [...] > > The compiler is being really stupid, and I don't like making > invasive changes to appease it. Non-invasive changes are fine, > such as adding CFLAGS.filename += -Wno-stupid-warning to a > Makefile, or changing a const variable to a #define. > > If it helped, then it would also be fine to change > const char * format = "%s"; > to > const char * const format = "%s"; > but it doesn't help.
martin discovered that this one works: const char fmt[] = "..."; .mrg.