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

2012-03-27 Thread Mark Morgan Lloyd
Sven Barth wrote: Am 27.03.2012 10:16, schrieb Patrick Chevalley: If you build your fpc.cfg using fpcmkcfg with the default template it add -Sgic. So C operator, C++ inline and goto are activated. I don't consider the config file as a base for default. In the specific case of FPC, I agree.

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

2012-03-27 Thread Mattias Gaertner
On Tue, 27 Mar 2012 19:41:58 +1100 Alexander Klenin wrote: > On Tue, Mar 27, 2012 at 19:30, Mark Morgan Lloyd > 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

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

2012-03-27 Thread Alexander Klenin
On Tue, Mar 27, 2012 at 19:30, Mark Morgan Lloyd 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 >> (ht

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

2012-03-27 Thread Mark Morgan Lloyd
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 t

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

2012-03-27 Thread Sven Barth
Am 27.03.2012 10:16, schrieb Patrick Chevalley: If you build your fpc.cfg using fpcmkcfg with the default template it add -Sgic. So C operator, C++ inline and goto are activated. I don't consider the config file as a base for default. While most users might use that config file there could be

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

2012-03-27 Thread Sven Barth
Am 27.03.2012 10:15, schrieb Juha Manninen: On Tue, Mar 27, 2012 at 11:08 AM, Gennadiy Poryev mailto:c...@barvinok.net>> wrote: > As far as I can see from the source the default should be "not enabled". It is fixed in Lazarus svn r36376 by explicitly specifying -Sci in makefile

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

2012-03-27 Thread Patrick Chevalley
If you build your fpc.cfg using fpcmkcfg with the default template it add -Sgic. So C operator, C++ inline and goto are activated. Patrick ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

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

2012-03-27 Thread Juha Manninen
On Tue, Mar 27, 2012 at 11:08 AM, Gennadiy Poryev wrote: > > As far as I can see from the source the default should be "not enabled". > > It is fixed in Lazarus svn r36376 by explicitly specifying -Sci in > makefile. > Sorry for raising the question here, I didn't anticipate it to be solved > so

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

2012-03-27 Thread Gennadiy Poryev
> As far as I can see from the source the default should be "not enabled". It is fixed in Lazarus svn r36376 by explicitly specifying -Sci in makefile. Sorry for raising the question here, I didn't anticipate it to be solved so fast. ___ fpc-devel mail

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

2012-03-27 Thread michael . vancanneyt
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://bug

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

2012-03-27 Thread Sven Barth
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'v