??? 10/26/11 10:08 Read: times |
#184367 - NULL Responding to: ???'s previous message |
I just tried to compile the snippet above using SDCC, and (after correcting the obvious problems like #including nonexistent headers) there was an error complaining on NULL not being defined; and after adding #include <stdint.h> it threw: v.c:108: error 47: indirections to different types assignment from type 'void generic* literal' to type 'unsigned-char data'Indeed - while NULL is a pointer, you are assigning it to unsigned char. Is this what you intended? (my original idea was, that if you plan to make this open-source, it might be a good idea to make it compilable by both Raisonance and SDCC (and perhaps Keil, too). Jan |
Topic | Author | Date |
User entered recipes ??? | 01/01/70 00:00 | |
Just create array of regular rules | 01/01/70 00:00 | |
Thanks - that's great | 01/01/70 00:00 | |
programming language | 01/01/70 00:00 | |
programming language - not really | 01/01/70 00:00 | |
consider enum | 01/01/70 00:00 | |
thanks - implemented. | 01/01/70 00:00 | |
Intelligence | 01/01/70 00:00 | |
I must have a stupid compiler | 01/01/70 00:00 | |
Not all compilers are as good at generate warnings | 01/01/70 00:00 | |
no warning/error on the compiler | 01/01/70 00:00 | |
response from Raisonance | 01/01/70 00:00 | |
enumerations on 8051 | 01/01/70 00:00 | |
enums are 8bit by default on Raisonance | 01/01/70 00:00 | |
NULL | 01/01/70 00:00 | |
Could you show me the code | 01/01/70 00:00 | |
compatibility et al | 01/01/70 00:00 | |
why change pointer to CODE? | 01/01/70 00:00 | |
enum advantage | 01/01/70 00:00 | |
user page does not work (at least for me) | 01/01/70 00:00 | |
try it now | 01/01/70 00:00 | |
re: enumerations on 8051 | 01/01/70 00:00 | |
Article on Hierarchical Menu Structure | 01/01/70 00:00 |