This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [g++] namespace problem
On Fri, Sep 01, 2000 at 05:00:53PM -0600, Martin Sebor wrote:
> Wrt. to the this project (just a different implementation), is there a
> way to prevent the warning: ANSI C does not allow `#include_next' and
> still use the directive? gcc somehow knows not to give the warning for
> its own or the OS headers (on Linux) but it complains about it in my own
> <limits.h> (using a full pathname doesn't work).
Try turning off the -Wunknown-pragmas warning, maybe. Use whatever
warning options you have, and then follow them with -Wno-unknown-pragmas.
(Check the spelling with the manual first.)
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.