[lazarus] Error compiling compileroptions.pp

Marc Weustink weus at quicknet.nl
Mon May 1 17:58:15 EDT 2000


At 23:51 01-05-2000 +0200, Vincent Snijders wrote:
>Hi,
>When I tried to compile lazarus I got an error compiling compileroptions.
>
>This is due to contructs like
>     tempsw += '2';
>These construct can be compiled with -Sc, but the make doesn't do so.

Yuck


>Is there a compiler directive ( something {$Sc}) which can be put in the
>source, so that I don't need to include the compiler switch at the command
>line?
>
>Or should I replace these lines with the more pascal syntax:
>     tmpsw := tempsw +'2';

I prefer the last.  It might be a nice C feature, but keep it to C. This is 
pascal.

Just my 2c

Marc






More information about the Lazarus mailing list