ie. code to compile:
EXEC SQL BEGIN DECLARE SECTION; char bound_waiting_state = static_cast<char>(Processor::waiting); EXEC SQL END DECLARE SECTION;
turns into:
/* exec sql begin declare section */
#line 90 "Schedule.pgcc"
char bound_waiting_state = static_cast < char > ( Processor : : waiting ) ;
/* exec sql end declare section */
#line 93 "Schedule.pgcc"
The scope operator becomes space padded and compiler barfs.
Work around is to initialise variables outside of declare section.
Regards, Mark Pether.
---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly