On Tue, 27 Mar 2012 19:41:58 +1100 Alexander Klenin <[email protected]> wrote:
> On Tue, Mar 27, 2012 at 19:30, Mark Morgan Lloyd > <[email protected]> wrote: > > Gennadiy Poryev wrote: > >> > >> 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. > > > > > > Didn't see it last week compiling Lazarus trunk on x86 (32-bit) using 2.6.0. > > Some parts of Lazarus (TAChart for sure) enable this option at package level, > to avoid accidental breakage. New Lazarus packages use -Sgic by default since the beginning. So I guess the biggest part of Lazarus packages use them. Mattias _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
