Ooops...

According to the guy that wrote the compiler, that should be 
__TI_COMPILER_VERSION__

I missed the trailing underscores.  Looks like this means I have a bug in the 
macro definitions internal to CCE as well, so if you try to use the macro, the 
indexer is likely going to complain about phantom syntax errors.

Sorry about the mixup.

___________________________________________
 
Chris Recoskie
Software Designer
Texas Instruments, Toronto
http://eclipse.org/cdt
 
 

> -----Original Message-----
> From: [email protected] [mailto:mspgcc-users-
> [email protected]] On Behalf Of Kevin Schmeichel
> Sent: Tuesday, November 01, 2005 4:16 PM
> To: [email protected]
> Subject: Re: [Mspgcc-users] compiler-independent ISR declarations
> 
> 
>   I've just got around to trying isr_compat.h with CCE and have found that
> __TI_COMPILER_VERSION is *not* defined for my setup.  I get the error
> "Compiler not recognized".
> 
>   Chris, any idea why this wouldn't be defined?  I can give you the
> details on
> my CCE setup, but as far as I know it's the latest.  If I manually define
> __TI_COMPILER_VERSION, the code compiles fine, but it'd be nice if I
> didn't
> have to do this for every project.
> 
>   Has anyone else had this problem?
> 
> Thanks,
> Kevin
> 
> On Tuesday 18 October 2005 7:49 am, Steve Underwood wrote:
> > Hi Chris,
> >
> > Thanks. The attached version makes use of __TI_COMPILER_VERSION.
> >
> > Regards,
> > Steve
> >
> > Recoskie, Chris wrote:
> > >I looked at your header file and noticed you had a hard time finding a
> > >macro to use to identify CCE.  You can use the macro
> > >__TI_COMPILER_VERSION to detect the TI code generation tools in
> general.
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to