[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

For Autoheader: Macro redefinition warnings

From: Reed Hedges
Subject: For Autoheader: Macro redefinition warnings
Date: Mon, 21 Apr 2003 17:22:15 -0400

In projects that end up using several "config.h" headers (created by several autoconf scripts, with different names), there are lots of annoying warnings about some of the default symbols being redefined, namely PACKAGE.

I tried this:

#ifdef PACKAGE
#undef PACKAGE

but of course autoheader turns the #undef into #define !!

Is there a correct way to get around this?

If not, then can autoheader be fixed to conditionally define PACKAGE and friends, or to really undefine it first?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]