Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-core-dev] __cplusplus not defined for ParserLanguage.CPP

That is indeed part of the work which Vlad has done on 
automatically populating the Paths and Symbols for a 
project.

Thanks,
 Thomas

>-----Original Message-----
>From: Tom Tromey [mailto:tromey@xxxxxxxxxx]
>Sent: June 7, 2004 4:15 PM
>To: cdt-core-dev@xxxxxxxxxxx
>Subject: Re: [cdt-core-dev] __cplusplus not defined for
>ParserLanguage.CPP
>
>
>John> We handle this in CDT 2.0 stream ... in 
>Scanner.setupBuiltInMacros() 
>
>John> if( getDefinition( __CPLUSPLUS ) == null ) 
>John>    addDefinition( __CPLUSPLUS, CPLUSPLUS_MACRO); //$NON-NLS-1$ 
>
>I saw this go by on the list, and I was wondering: for a gcc-using
>project, why not use `cpp -dM' to automatically detect all the
>predefined macros?
>
>Tom
>_______________________________________________
>cdt-core-dev mailing list
>cdt-core-dev@xxxxxxxxxxx
>http://dev.eclipse.org/mailman/listinfo/cdt-core-dev
>


Back to the top