Re: [fpc-pascal] String types in a wider perspective

2009-12-02 Thread Flávio Etrusco
On Tue, Dec 1, 2009 at 2:28 PM, Jonas Maebe wrote: > > On 01 Dec 2009, at 18:03, Luca Olivetti wrote: > >> I always protect multithreaded sting access with a critical section. >> Do you mean it is not needed? > > The reference counting of ansistrings/... is thread safe. Accessing the > characters

[fpc-pascal] Re: Inconsistency detected by ld.so

2009-12-02 Thread Seth Grover
> > Well, not that recent: > http://www.hu.freepascal.org/lists/fpc-pascal/2008-April/017199.html > Wow, how embarrassing. Not only is there already a mailing list thread on the topic, but it was started by me. I have a really bad memory. > > It seemed to be specific to a particular machine of yo

Re: [fpc-pascal] readonly variables

2009-12-02 Thread Jonas Maebe
On 02 Dec 2009, at 10:26, Holger Bruns wrote: I checked this out. Both Turbo Pascal and fpc reported the same error massage: Variable identifier expected. You simply cannot pass constant values by reference. Passing a parameter by reference and "var" parameters are not the same thing. Co

Re: [fpc-pascal] readonly variables

2009-12-02 Thread Holger Bruns
Anthony Walter schrieb: This first time concerning the topic "const records passed incorrectly" you said, "It is nowhere written in the Delphi specs that const parameters are passed by reference. It is often so, but is by no means guaranteed" I checked this out. Both Turbo Pascal and fpc repo

Re: [fpc-pascal] Inconsistency detected by ld.so

2009-12-02 Thread Jonas Maebe
On 02 Dec 2009, at 00:56, Seth Grover wrote: Using the examples from the test suite for an .so and a host program (http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/tests/webtbs/tw12704a.pp?view=markup and http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/tests/webtbs/tw12704b.pp?view=markup)