| ??? 02/06/06 22:20 Read: times |
#109344 - Keil anomaly |
I posted this on the Keil forum and no answer resulted, so I try here:
replacing an assembler style include file with a C style .h file e.g. chars are correctly processed by the .a51 that inclode the .h file. HOWEVER bit seems to be a different story. The assembler recognizes extern unsugned char why not extern bit
+1 1594 extern bit GBinitDn ; // this bit is set when initialize is done
*** _____________________________________^
*** ERROR #A50 IN 1594 (msdefs.h, LINE 89): BIT-ADDRESS EXPECTED
Is there a way around this one? By the way the address IS a bit address. as you may have guessed I am in the process of consolidating the defines for a mixed project. Erik |
| Topic | Author | Date |
| Keil anomaly | 01/01/70 00:00 | |
| Did you try it in C | 01/01/70 00:00 | |
| it IS my C .h file | 01/01/70 00:00 | |
| Does this thread give a hint ? | 01/01/70 00:00 | |
| hint? yes and no | 01/01/70 00:00 | |
| syntax | 01/01/70 00:00 | |
| yes, but | 01/01/70 00:00 | |
| dummy C ? | 01/01/70 00:00 | |
| Another reason to drop assembler? | 01/01/70 00:00 | |
| oh, I have that | 01/01/70 00:00 | |
| Auto-edit | 01/01/70 00:00 | |
Auto-edit | 01/01/70 00:00 |



