This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: strange g++ -D behavior,
- From: Michael Meeks <michael at ximian dot com>
- To: gcc at gnu dot org
- Cc: Martin Hollmichel - Sun Germany - ham02 - Hamburg <martin dot hollmichel at Sun dot COM>, Federico Mena Quintero <federico at ximian dot com>
- Date: 05 Mar 2003 18:51:55 +0000
- Subject: Re: strange g++ -D behavior,
- Organization: Ximian.
- References: <1046884607.1872.1815.camel@server.home>
On Wed, 2003-03-05 at 17:16, Michael Meeks wrote:
> This may be a FAQ - if so apologies; I seem to be getting -DFoo
> substitution in some include paths.
I'm a moron - please ignore me; the problem lies in stlport; wherein it
seems to do:
#define _STLP_NATIVE_INCLUDE_PATH \
/home/michael/ximian-desktop/ooo/BUILD/ooo/include/c++/3.2.2
And proceeds to do things like:
# define _STLP_MAKE_HEADER(path, header) <path/header>
# define _STLP_NATIVE_CPP_C_HEADER(header) \
_STLP_MAKE_HEADER(_STLP_NATIVE_INCLUDE_PATH,header)
with:
#include _STLP_NATIVE_CPP_C_HEADER(foo)
All of which is too confusing for those if little brain,
Apologies,
Michael.
--
mmeeks at gnu dot org <><, Pseudo Engineer, itinerant idiot