|
C18 v2.4 -- Syntax error where there is no syntax error
This is really weird! When I try to compile some code, I get a syntax error where there is no error at all! Like, in the header file for serial_ports.h (Kevin's code), the compiler dies here,
// if needed, declare functions and global variables that
// are specific to serial port one receiver functionality
#ifdef ENABLE_SERIAL_PORT_ONE_RX
--> void Init_Serial_Port_One(void);
So I start removing files (carefully), and at each compile it craps out at some (seemingly) random point in a header file.
Anyone experienced this?
Anyone have an idea as to what is wrong here?
At first I thought I had to switch to the large code model (>64KB), but that didn't help anything.
__________________
Joel Johnson
Division By Zero ( 229) Alumni, 2003-2007
RAGE ( 173) Alumni, 1999-2003
|