> Reuben has chosen to set CPP_PEDANTIC to true, so in order to get rid of the
> warning, he needs to make  dir->origin == EXTENSION  evaluate to false.
> This means, specify the directory containing the built gnulib header files
> with '-isystem' instead of '-I'.

You can put "#pragma GCC system_header" in the gnulib files.  However, I
don't know offhand if it applies to *all* warnings in the file, or only
those after the pragma.  If it is the former, I think it would be better
to have a separate macro to set it, rather than set it by default.

Paolo


Reply via email to