Hi guys, have you ever tried to do that? Can give me some experience? I got some stupid error msgs which I can not find out why?
"I tried to look at the source code at the error line but see nothing wrong." The error's in a header file - so it's most likely to be a missing or incorrect definition (eg, typedef or #define) some where before where the first error is reported. Are you sure that you have all the command-line defines correct? Try Andy's Handy Hint for Debugging Preprocessor Problems - Examine the preprocessor output: http://www.8052.com/forum/read.phtml?id=29152 Note that the preprocessor listing is a valid 'C' source file. Try compiling it - then you will get error messages that relate directly to the source as the compiler sees it - without any preprocessor obfuscation...
"Try Andy's Handy Hint for Debugging Preprocessor Problems - Examine the preprocessor output" Here is the Keil Manual page regarding the preprocessor listing: http://www.keil.com/support/man/docs/c51/c51_cm_ifile.htm