13 Dec
2003
13 Dec
'03
10:25 p.m.
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/
8262
Age (days ago)
8280
Last active (days ago)
18 comments
6 participants
participants (6)
-
Adriaan van Os -
CBFalconer -
Frank Heckenbach -
Peter N Lewis -
Prof A Olowofoyeku (The African Chief) -
Prof. A Olowofoyeku (The African Chief)