GNU Pascal GPC v. 2.1 (20050331)
The following console program (with a slight typo) drives the compiler ballistic.
program Project3;
begin Writeln('Hello); Readln; end.
Prof. Harley Flanders wrote:
GNU Pascal GPC v. 2.1 (20050331)
The following console program (with a slight typo) drives the compiler ballistic.
program Project3;
begin Writeln('Hello); Readln; end.
Can you give more information? Backend version (gpc -v)? OS (uname -a)? Compiler output or behaviour? Etc.
My gpc-20050331 on i686-pc-linux-gnu, based on gcc-3.4.3, gives a proper error message:
foo.pas:4: unterminated string or character constant foo.pas:4: possible real start of unterminated constant
Frank
On 28 Jul 2005 at 22:00, Frank Heckenbach wrote:
Prof. Harley Flanders wrote:
GNU Pascal GPC v. 2.1 (20050331)
The following console program (with a slight typo) drives the compiler ballistic.
program Project3;
begin Writeln('Hello); Readln; end.
Can you give more information? Backend version (gpc -v)? OS (uname -a)? Compiler output or behaviour? Etc.
I believe he is using my Mingw binary (with the bundled DevPascal Win32 IDE).
My gpc-20050331 on i686-pc-linux-gnu, based on gcc-3.4.3, gives a proper error message:
foo.pas:4: unterminated string or character constant foo.pas:4: possible real start of unterminated constant
Same here - both from the command line, and in the IDE.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/