| ??? 10/28/07 17:28 Read: times |
#146327 - Macros introducing more errors Responding to: ???'s previous message |
Bharat Prabhu said:
error is with following expressions.
Sbit front = P0^0; sbit back1 = P0^1; sbit back2 = P0^2; That is valid syntax for Keil's SFR bit definitions. if you are using SDCC freeware compiler then use
#define front P0_0; #define back1 P0_1; #define back2 P0_2; Even SDCC will complain when those macros are expanded with their trailing semicolon ';'. |



