mpc83xx.h compile error
Joel Sherrill
joel.sherrill at OARcorp.com
Fri May 16 14:01:01 UTC 2008
Hi,
Weird compile error for iostream test.
../../../../../hsc_cm01/lib/include/mpc83xx/mpc83xx.h:340: error:
expected unqualified-id before '||' token
Tracked down to this line in mpc83xx.h:
volatile uint32_t or; /* 0x0_5004 Options register 0
R/W 0x0000_0FF7 10.3.1.2/10-12 */
And this #define in iso646.h from gcc I think:
#define or ||
I assume the name of the structure member needs to change.
Any one using that field? Or can I just rename it to
"optionsr" and fix the resulting compile errors?
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list