In debug/tst-chk1 we purposely test gets and getwd?

Roland McGrath roland@hack.frob.com
Tue Sep 9 21:19:00 GMT 2014


4.4 supports '#pragma GCC diagnostic ignored "..."', but only at top level,
and it does not support '#pragma GCC push'.  Even a file-wide pragma seems
preferable to using command-line options (and we should clean up existing
cases of 'CFLAGS-foo.c = -Wno-...').  But perhaps before we get to this,
we'll decide to bump the minimum compiler up to 4.6, and then we could use
tight push/pop regions to disable around just the one line, which is better.



More information about the Libc-alpha mailing list