On 04/05/2017 10:56 AM, Tim Rühsen wrote:
while i can (and do) give the gnulib files their own CFLAGS, I can't and won't
leave out -Wundef on my own C files.

You can use something like this in your source files:

  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wundef"
  #include <some-gnulib-file.h>
  #pragma GCC diagnostic pop

Reply via email to