Hanif Ladha <firstname.lastname@example.org> wrote:
Would appreciate some pointers on how to solve the following…
I trying to cross compile (x86 target) a module using the Momentics IDE
on a Win2K box. This module happily compiles on a QNX box, so I am
confident here no syntatic issues. Anyhow attempting to compile on a
Windows boxs reults in a large number of the following errors:
file details…> parse error before `.’
file details…> stray ‘’ in program
They refer to macro definitions in which \ is used as a line
continuation - standard stuff I thought…
Hm… I wonder if it is CRLF vs CR issues?
I did a little test where I create a macro with a \ to continue
the definition, compiled and ran it. It worked fine.
So, I’m guessing its a line termination issue of some flavour.
Hm…though I just tried converting the file to QNX format, and
recompiling under Windows, and it still didn’t fail.
Hm… is there any whitespace after the \ on the line you want
continued? Such whitespace could be a problem.
QNX Training Services
Please followup in this newsgroup if you have further questions.