Hello, I am currently rebuilding a project in CodeWarrior IDE(version 3.1). The project was originally developed in WinIDEA with Cosmic compiler. Here is an example of errors. When I compile the project, I have an error "C1143: Ambiguous cosmic space modifier. Only one per declaration allowed." In compiler setting, I have turned on "Cosmic compatabilitymode for space modifiers @near, @far and @tiny". The source line which makes this error is as below: extern @near @interrupt void WDOG_XIRQ_Intrpt(void); Can CW allow two cosmic space modifiers in a row by changing settings/environment? Any answer will be very helpful for me! Thanks, Ji |
|
Question on cosmic space modifier @near, @far and @tiny
Started by ●May 14, 2004
Reply by ●May 16, 20042004-05-16
Hi Ji, The @interrupt is not yet supported in V3.1, but will be in the next compiler. For now, use extern @near interrupt void WDOG_XIRQ_Intrpt(void); Erich > -----Original Message----- > From: jekimcmu [mailto:] > Sent: Freitag, 14. Mai 2004 22:38 > To: > Subject: [68HC12] Question on cosmic space modifier @near, > @far and @tiny > Hello, > > I am currently rebuilding a project in CodeWarrior > IDE(version 3.1). The project was originally developed in > WinIDEA with Cosmic compiler. > > Here is an example of errors. > > When I compile the project, I have an error "C1143: Ambiguous > cosmic space modifier. Only one per declaration allowed." > In compiler setting, I have turned on "Cosmic compatabilitymode for > space modifiers @near, @far and @tiny". > > The source line which makes this error is as below: > > extern @near @interrupt void WDOG_XIRQ_Intrpt(void); > Can CW allow two cosmic space modifiers in a row by changing > settings/environment? > > Any answer will be very helpful for me! > > Thanks, > Ji > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> Make a clean sweep of pop-up ads. > Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for > free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dN_tlB/TM > -------------------------- > -------~-> > > --------------------To > learn more about Motorola Microcontrollers, please visit http://www.motorola.com/mcu o learn more about Motorola Microcontrollers, please visit http://www.motorola.com/mcu Yahoo! Groups Links |