Put "{$X+}" in the source code, or pass '--extended-syntax' at the command line.
I have changed the Makefile (attached) to include the command line option --extended-syntax, but I still get the same error message when I compile: $ make gpc -c p.p p.p: In main program: p.p:11: error: argument to `WriteLn' is of wrong type p.p:11: error: (Use `--cstrings-as-strings' to treat `CString' as a string.) p.p: At top level: p.p:15: error: syntax error before `more' make: *** [p.o] Error 1 The manual entry for --extended-syntax is "--extended-syntax same as --ignore-function-results --pointer-arithmetic --cstrings-as-strings -Wno-absolute (same as {$X+}). " so presumably I don't need the --cstrings-as-strings? Can you spot what's wrong? Many thanks, Chris.
participants (2)
-
Chris Hicks -
Prof A Olowofoyeku (The African Chief)