[fpc-devel] Are "C style operators" default or not?

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Mar 27 09:39:20 CEST 2012

On Tue, 27 Mar 2012, Sven Barth wrote:

> Am 27.03.2012 07:47, schrieb Gennadiy Poryev:
>> Hi all,
>> I’ve recently ran into weird problem with “C style operators”. Though the 
>> story is about Lazarus, I thought I better ask it here. All of a sudden, my 
>> Lazarus trunk had refused to build 
>> (http://bugs.freepascal.org/view.php?id=21571 ) and I've tracked the 
>> problem to the use of "+=" operator somewhere in the recent revisions. 
>> Apparently this is easily fixed by adding -Sc compiler option to the 
>> makefile, had it not been the fact that I seem to be the only one 
>> experiencing this issue :( How this can be? I use latest fpc trunk with no 
>> self-made modifications, and it thinks that -Sc is not the default. Please 
>> enlighten me on this.
> As far as I can see from the source the default should be "not enabled".

I had the same problems.

C style operators are by default off.


More information about the fpc-devel mailing list