Re: [fpc-pascal] Defining sonames?

2017-08-14 Thread Jonas Maebe
On 13/08/17 21:30, Fred van Stappen wrote: You have a opinion that every respect, me first. It's simply how it is and has been for the past 60 years or so. Ha, ok, with this argument, I was simply trying to clarify that Swen's description was not an opinion, but a fact of how things are.

Re: [fpc-pascal] BlockWrite() version 2.6.4

2017-08-14 Thread Brian
Ok. Many thanks guys. Brian -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/BlockWrite-version-2-6-4-tp5729418p5729456.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maill

Re: [fpc-pascal] BlockWrite() version 2.6.4

2017-08-14 Thread Karoly Balogh (Charlie/SGR)
Hi, On Mon, 14 Aug 2017, Brian wrote: > Thanks Charlie. > > I notice the Do_Write() uses repeat .. until where fpWrite() does a direct > call. > > What was the reasoning for the repeat..until in Do_Write() ? Because FpWrite() is just the direct Unix OS call, so the RTL doesn't add extra behavio

Re: [fpc-pascal] BlockWrite() version 2.6.4

2017-08-14 Thread Marco van de Voort
In our previous episode, Brian said: > I notice the Do_Write() uses repeat .. until where fpWrite() does a direct > call. > > What was the reasoning for the repeat..until in Do_Write() ? Syscalls that block for hardware can return EINTR (ESysIntr) on some *nixes when a signal arrives while waiti

Re: [fpc-pascal] TInifile does not handle " " (space) as a value.

2017-08-14 Thread Michael Van Canneyt
On Mon, 14 Aug 2017, Graeme Geldenhuys wrote: On 2017-08-04 08:47, Michael Van Canneyt wrote: Is this considered a bug or "by design"? This is by design. As you said, whitespace is not so well defined. Torsten, if you can, maybe switch to JSON files for config setting instead. I have had

Re: [fpc-pascal] TInifile does not handle " " (space) as a value.

2017-08-14 Thread Graeme Geldenhuys
On 2017-08-04 08:47, Michael Van Canneyt wrote: Is this considered a bug or "by design"? This is by design. As you said, whitespace is not so well defined. Torsten, if you can, maybe switch to JSON files for config setting instead. I have had fantastic success with JSON files in such a way.

Re: [fpc-pascal] BlockWrite() version 2.6.4

2017-08-14 Thread Brian
Thanks Charlie. I notice the Do_Write() uses repeat .. until where fpWrite() does a direct call. What was the reasoning for the repeat..until in Do_Write() ? Thanks Brian -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/BlockWrite-version-2-6-4-tp5729418p572

Re: [fpc-pascal] Free Pascal 3.0.4-rc1 released!

2017-08-14 Thread Graeme Geldenhuys
On 2017-07-18 09:44, Marco van de Voort wrote: We have placed the first release candidate of the Free Pascal Compiler version 3.0.4 on our ftp servers. Many thanks Marco and the rest of the FPC team. I did some testing today for a couple of hours with the 64-bit FreeBSD 10.x release candidate

[fpc-pascal] program crash when -Cfsse2 enabled

2017-08-14 Thread code dz
Hi this is a portion of the program , when i add -Cfsse2 it crashes. but works ok without sse2 // program demo; {$ifdef FPC}{$mode objfpc}{$h+}{$endif} uses math; const XRES = 1280; const YRES = 720; var myLut : array[0..XRES*YRES-1] of longword; procedure init

Re: [fpc-pascal] Defining sonames?

2017-08-14 Thread Fred van Stappen
> Exactly, and it is why, for each fpc version, the appropriate symlink should > be assigned ( at the moment libX11.so.6 ) And this is the OS, with his updates, that will assign symlink libX11.so.6 to the last installed libX11.6.1.2.3.4.so Fre;D __