Re: [fpc-pascal] FPC 3.0.0 and gProf

2016-10-18 Thread Jonas Maebe
Reimar Grabowski wrote: > are there any known problems with gprof? No, but on the other hand it's not something that many people use. We have one simple test for it in the test suite, but it's only run for go32v2,linux,freebsd,darwin,haiku. > Mantis says no but when enabling gprof support in my

Re: [fpc-pascal] Piping: high level tool? Strong types sent via pipe

2016-10-18 Thread Jonas Maebe
Lars wrote: > Am I just reinventing the library already available for fpc for IPC > (interprocess communication) ? The simpleipc unit does not contain support for sending arbitrarily typed data, but you could use the fcl-json units to encode your data in json, send the json data as a string, and

Re: [fpc-pascal] Error: Identifier not found "Heap Error"

2016-10-18 Thread Luiz Gonzaga de Oliveira Neto
Thank you all for the help! On Mon, Oct 17, 2016 at 10:51 AM Jonas Maebe wrote: > Luiz Gonzaga de Oliveira Neto wrote: > > Would be it be better to try to compile this with the Turbo Pascal > > compiler then? Or do you think it would be easier to try to remove the > >

Re: [fpc-pascal] Smart link in FreeBSD multi-arch ?

2016-10-18 Thread Graeme Geldenhuys
On 2016-10-18 14:30, fredvs wrote: > Many thanks Graeme for your opened mind and your impressing clarity. Tell that to my wife she would disagree! ;-) Regards, Graeme ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Smart link in FreeBSD multi-arch ?

2016-10-18 Thread fredvs
> Maybe if you supply two small binaries Maybe or, better, supply two clean new glasses to those two "developers". Sorry Graeme but I am tired to fight. The honor of fpc is saved, the problem is or *ld* or FreeBSD multi-arch design. Many thanks Graeme for your opened mind and your impressing

Re: [fpc-pascal] How to know the encoding of a string?

2016-10-18 Thread Marcos Douglas B. Santos
On Mon, Oct 17, 2016 at 2:47 PM, Bart wrote: > As explained there is no certain way. > Lazarus comes with lconvencoding unit which has a guessencoding function. > Maybe this can be of some help to you? I'd not seen this unit before. Maybe this is the short way to do what I

Re: [fpc-pascal] How to know the encoding of a string?

2016-10-18 Thread Marcos Douglas B. Santos
On Mon, Oct 17, 2016 at 11:19 AM, Jonas Maebe wrote: > There are some heuristics you could try to apply (see e.g. > http://chsdet.sourceforge.net ), but in general it is impossible to know > for sure what encoding has been used Interesting project, I'll take a look,

Re: [fpc-pascal] 3.1.1 documentation in html on the website?

2016-10-18 Thread Graeme Geldenhuys
On 2016-10-18 00:22, David Emerson wrote: > I filed a bug against the documentation and it was marked fixed in > 3.1.1, what's the best way to review the new version? You'll have to have a copy of FPC's 3.1.1 source code. You will also have to check out the latest documentation from the

Re: [fpc-pascal] Smart link in FreeBSD multi-arch ?

2016-10-18 Thread Graeme Geldenhuys
On 2016-10-18 03:24, fredvs wrote: > Yes, without Smart-linking, a 32 bit fpc application runs fine in a > multi-arch 64 bit system. > > With Smart-linking a 32 bit application runs fine only in a mono-arch 32 > bit. Umm, that is very weird. Maybe if you supply two small binaries, each with