Re: [fpc-devel] defaultformatsettings

2010-11-29 Thread Marco van de Voort
In our previous episode, Paul Ishenin said: > 30.11.2010 1:23, Marco van de Voort wrote: > > > Like anything new in Delphi nowadays, it is a record-with-some-helpers > > Time to implement this kind of records in FPC? If generics are more mature, we are going to need it. E.g. I'm thinking of par

Re: [fpc-devel] defaultformatsettings

2010-11-29 Thread Paul Ishenin
30.11.2010 1:23, Marco van de Voort wrote: Like anything new in Delphi nowadays, it is a record-with-some-helpers Time to implement this kind of records in FPC? I tried once but failed because of big changes they require. Best regards, Paul Ishenin __

Re: [fpc-devel] defaultformatsettings

2010-11-29 Thread Paul Ishenin
30.11.2010 2:31, Sven Barth wrote: You are aware that I'm talking about "object" (the old TP style OOP) not "class" (the Delphi style OOP)? "object" is deprecated in Delphi since I don't know how long, but in FPC it's still maintained and even extended. In delphi it is still maintained and even

Re: [fpc-devel] Less comprehensive progress output for fpmake

2010-11-29 Thread Darius Blaszyk
On Mon, 2010-11-29 at 20:00 +0100, Darius Blaszyk wrote: > On Mon, 2010-11-29 at 19:31 +0100, Jonas Maebe wrote: > > On 29 Nov 2010, at 18:45, Darius Blaszyk wrote: > > > > > The major "problem" we will have to solve is localization. Now the code > > > depends on the words "Compiling" and "linking

Re: [fpc-devel] defaultformatsettings

2010-11-29 Thread Michael Van Canneyt
On Mon, 29 Nov 2010, Marco van de Voort wrote: Seems Delphi XE has deprecated all separate variables, and after ten years did the same as FPC, use an absolute trick. And of course they named it differently (FPC: defaultformatsettings Delphi: formatsettings) Oh well, this is an easy one, for

Re: [fpc-devel] defaultformatsettings

2010-11-29 Thread Sven Barth
On 29.11.2010 19:55, Thaddy wrote: On 29-11-2010 19:33, Sven Barth wrote: Just thinking: wouldn't objects in FPC achieve the same as records-with-methods in Delphi? If objects would be extended with "sealed" even the "sudden vmt" problems mentioned some time ago would be gone with simple object

[fpc-devel] Re: Is GLUT_EXCLUSIVE_FPUMODE really needed?

2010-11-29 Thread Michalis Kamburelis
For anyone interested: I submitted my proposal to remove GLUT_EXCLUSIVE_FPUMODE as http://bugs.freepascal.org/view.php?id=18107 and a patch with freeglut-extensions as http://bugs.freepascal.org/view.php?id=18108 Michalis ___ fpc-devel maillist - f

Re: [fpc-devel] Less comprehensive progress output for fpmake

2010-11-29 Thread Darius Blaszyk
On Mon, 2010-11-29 at 19:31 +0100, Jonas Maebe wrote: > On 29 Nov 2010, at 18:45, Darius Blaszyk wrote: > > > The major "problem" we will have to solve is localization. Now the code > > depends on the words "Compiling" and "linking". Is there a way to > > circumvent this? > > If you pass -vq to t

Re: [fpc-devel] defaultformatsettings

2010-11-29 Thread Thaddy
On 29-11-2010 19:33, Sven Barth wrote: Just thinking: wouldn't objects in FPC achieve the same as records-with-methods in Delphi? If objects would be extended with "sealed" even the "sudden vmt" problems mentioned some time ago would be gone with simple objects-simulating-delphi-records-with-

Re: [fpc-devel] defaultformatsettings

2010-11-29 Thread Marco van de Voort
In our previous episode, Sven Barth said: > > > Like anything new in Delphi nowadays, it is a record-with-some-helpers > > Just thinking: wouldn't objects in FPC achieve the same as > records-with-methods in Delphi? If objects would be extended with > "sealed" even the "sudden vmt" problems men

Re: [fpc-devel] defaultformatsettings

2010-11-29 Thread Sven Barth
On 29.11.2010 19:23, Marco van de Voort wrote: Seems Delphi XE has deprecated all separate variables, and after ten years did the same as FPC, use an absolute trick. And of course they named it differently (FPC: defaultformatsettings Delphi: formatsettings) Sigh... always the same -.- Like

Re: [fpc-devel] Less comprehensive progress output for fpmake

2010-11-29 Thread Jonas Maebe
On 29 Nov 2010, at 18:45, Darius Blaszyk wrote: > The major "problem" we will have to solve is localization. Now the code > depends on the words "Compiling" and "linking". Is there a way to > circumvent this? If you pass -vq to the compiler, it will prepend the message numbers to the output mes

[fpc-devel] defaultformatsettings

2010-11-29 Thread Marco van de Voort
Seems Delphi XE has deprecated all separate variables, and after ten years did the same as FPC, use an absolute trick. And of course they named it differently (FPC: defaultformatsettings Delphi: formatsettings) Like anything new in Delphi nowadays, it is a record-with-some-helpers ___

Re: [fpc-devel] Less comprehensive progress output for fpmake

2010-11-29 Thread Darius Blaszyk
On Mon, 2010-11-29 at 18:04 +0100, Joost van der Sluis wrote: > On Thu, 2010-11-25 at 18:05 +0100, Darius Blaszyk wrote: > > I have created a patch for fpmake that hides some of the raw compiler > > output. The new output looks more like scons and is actually more clear > > imho. You can however st

Re: [fpc-devel] Less comprehensive progress output for fpmake

2010-11-29 Thread Joost van der Sluis
On Thu, 2010-11-25 at 18:05 +0100, Darius Blaszyk wrote: > I have created a patch for fpmake that hides some of the raw compiler > output. The new output looks more like scons and is actually more clear > imho. You can however still get full output by passing the -v option to > fpmake. > > http://

Re: [fpc-devel] problem compiling

2010-11-29 Thread Michael Schnell
On 11/29/2010 10:56 AM, Marco van de Voort wrote: You only need the cmdline compiler. See buildfaq buildfaq: http://www.stack.nl/~marcov/buildfaq/ Thanks ! -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.or

Re: [fpc-devel] problem compiling

2010-11-29 Thread Michael Schnell
On 11/29/2010 11:25 AM, Sven Barth wrote: ... make clean all FPC=/path/to/2.4.2/ppc386 Thanks a lot ! I'll give it a try. -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] problem compiling

2010-11-29 Thread Sven Barth
Am 29.11.2010 10:52, schrieb Michael Schnell: On 11/29/2010 10:40 AM, Sven Barth wrote: What OS? Linux (Suse 3.11) Download this release: ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.4.2/i386-linux/fpc-2.4.2.i386-linux.tar Extract that to some directory and extract (I think) binary.tar.gz

Re: [fpc-devel] problem compiling

2010-11-29 Thread Marco van de Voort
In our previous episode, Michael Schnell said: > > Do you use 2.4.2 as starting compiler? > > > I used the latest compiler I was able to install successfully: > > Free Pascal Compiler version 2.5.1 [2010/11/22] for i386 > > Is this not allowed ? Allowed yes, guaranteed no. The only guaranteed w

Re: [fpc-devel] problem compiling

2010-11-29 Thread Michael Schnell
On 11/29/2010 10:40 AM, Sven Barth wrote: What OS? Linux (Suse 3.11) -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] problem compiling

2010-11-29 Thread Thaddy
On 29-11-2010 10:36, Michael Schnell wrote: On 11/29/2010 10:25 AM, Marco van de Voort wrote: Do you use 2.4.2 as starting compiler? I used the latest compiler I was able to install successfully: Free Pascal Compiler version 2.5.1 [2010/11/22] for i386 Trunk (i.e. 2.5.1 and higher) should be

Re: [fpc-devel] problem compiling

2010-11-29 Thread Sven Barth
Am 29.11.2010 10:36, schrieb Michael Schnell: On 11/29/2010 10:25 AM, Marco van de Voort wrote: Do you use 2.4.2 as starting compiler? I used the latest compiler I was able to install successfully: Free Pascal Compiler version 2.5.1 [2010/11/22] for i386 Is this not allowed ? It's not for

Re: [fpc-devel] problem compiling

2010-11-29 Thread Michael Schnell
On 11/29/2010 10:25 AM, Marco van de Voort wrote: Do you use 2.4.2 as starting compiler? I used the latest compiler I was able to install successfully: Free Pascal Compiler version 2.5.1 [2010/11/22] for i386 Is this not allowed ? I in fact I don't know how to install a different fpc to comp

Re: [fpc-devel] problem compiling

2010-11-29 Thread Marco van de Voort
In our previous episode, Michael Schnell said: > > /usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix > -Fii386 -FE. > -FU/home/mschnell/Downloads/svn/fpc/trunk/rtl/units/i386-linux -di386 > -dRELEASE ../objpas/fgl.pp > fgl.pp(128,38) Error: Generics without specialization canno

[fpc-devel] problem compiling

2010-11-29 Thread Michael Schnell
When trying to compile svn version 16473 (and some earlier versions) I get: /usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE. -FU/home/mschnell/Downloads/svn/fpc/trunk/rtl/units/i386-linux -di386 -dRELEASE ../objpas/fgl.pp fgl.pp(128,38) Error: Generics without sp