[lazarus] Error compiling compileroptions.pp

Florian Klaempfl Florian.Klaempfl at gmx.de
Tue May 2 10:53:19 EDT 2000


Marc Weustink wrote:
> 
> 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.

After 1.0 this will be optmized by the compiler. It isn't done currently because
we don't want new features before 1.0







More information about the Lazarus mailing list