Simple but minor preprocessor issue

Started by Tapani, September 10, 2010, 05:15:10 PM

Previous topic - Next topic

Tapani

This is somewhere between a bug and a feature request.

The following should not give a preprocessor warning:

#if 0
#include_next "whatever.h"
#endif


In practice, the "#if 0" is of course something like "#ifdef GCC", a check for GNU C, which understands the #include_next keyword.. and my code has quite a few warnings because of those. :-)