Hi
This program fails to compile under '--borland-pascal' and '--delphi':
program delphibug; {$delphi} { fails } {$borland-pascal} { so does this } CONST foo = 'PK'#5#6; { this is the offending line } begin Writeln ('OK'); end.
This is the error I get (with gpc-20030830): "delphibug.pas:4: error: string concatenation without `Concat' or `+' is an extension delphibug.pas:4: error: of GNU Pascal"
This error should not happen. If you remove the embedded condititionals, the program compiles fine both under BP and all versions of Delphi.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/