Hello, I've problems to compile with IAR. The line is:
#define ISR(a,b) #pragma vector = a ## _VECTOR \ __interrupt void b(void) Error[Pe052]: expected a macro parameter name P:\vhdl\EKG\pgm\msp\isr_compat.h 68 This is the same problem, I ran some times ago. The Preprocessor thinks about a parameter with any #foo (as #pragma in this case). Is there a switch in IAR to compile this things? Thanks, Steffen -------------------------------------------------------------------- | Fraunhofer Institut Photonische Microsysteme | | | | Fraunhofer Institute for Photonic Microsystems ( Germany ) | | | | Steffen Netz | phone : ( +49 ) (0)351/8823-212 | | Maria-Reiche-Str. 2 | fax : ( +49 ) (0)351/8823-266 | | 01109 Dresden | email : steffen.n...@ipms.fraunhofer.de | --------------------------------------------------------------------