This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strange g++ -D behavior,


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]