Simon Josefsson wrote:
> > +  # Gnulib uses #include_next in many .h files.
> > +  AS_VAR_APPEND([$1], [' -Wno-gnu-include-next'])
> 
> Do clang really trigger on gnulib *.h's?  I would have expected to have
> run into this.  Doesn't it just trigger for the *.c compilation module?

I'm not running into this warning normally, either.

> I would want to catch any use of '#include_next' in any of my non-gnulib
> *.c files, so if it behaves like I think it does, the warning seem
> useful to me.

Feel free to remove these two lines from manywarnings.m4.

Bruno




Reply via email to