[fpc-devel] FPC 3.0.2 for SPARC

2017-05-05 Thread Mark Morgan Lloyd
This is something that was discussed on the FPC-Pascal ML but it died. I am able to build installation bundles for SPARC running Linux (Debian) and Solaris (OpenSXCE). The fp IDE works but doesn't have libgdb support, and I've got limited time to struggle up the learning curve. Would these be

Re: [fpc-devel] Object checks

2017-05-05 Thread Pierre Muller
Hi Colin, Le 30/04/2017 à 10:53, C Western a écrit : > If I may, a couple of queries about code generated for object checking > when range checks are on (-Cr): > > An explicit check for nil is generated, which seems redundant, as any > attempt to use the value will generate a SIGSEGV anyway on

[fpc-devel] UTF-8 string literals

2017-05-05 Thread Mattias Gaertner
Hi, AFAIK FPC stores UTF-8 string literals (-Fcutf8) as widestrings instead of UTF8String. Please correct me if I'm wrong. This has several side effects: 1. When using a character outside BMP FPC stops with: Error: UTF-8 code greater than 65535 found For example: const Eyes = ''; 2. Assigning

Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-05 Thread Pierre Muller
Hi Mark, Le 05/05/2017 à 13:00, Mark Morgan Lloyd a écrit : > This is something that was discussed on the FPC-Pascal ML but it died. > > I am able to build installation bundles for SPARC running Linux (Debian) > and Solaris (OpenSXCE). The fp IDE works but doesn't have libgdb > support, and

Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-05 Thread Mark Morgan Lloyd
On 05/05/17 12:00, Pierre Muller wrote: Hi Mark, Le 05/05/2017 à 13:00, Mark Morgan Lloyd a écrit :> This is something that was discussed on the FPC-Pascal ML but it died.> > I am able to build installation bundles for SPARC running Linux (Debian) > and Solaris (OpenSXCE). The fp IDE works but

Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-05 Thread Pierre Muller
> gmake NOGDB=1 OPT='-V3.0.0 -O- -gl -Xn -vt' all > > but the full build is giving me a linking error. > > Following Pierre's instructions I'm using > > CHECKLIBGDB=no install/makepack > > which is eventually failing with > > /usr/local/src/fpc/fpcbuild-3.0.2/fpcsrc/compiler$ >

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Michael Van Canneyt
On Fri, 5 May 2017, Mattias Gaertner wrote: Hi, AFAIK FPC stores UTF-8 string literals (-Fcutf8) as widestrings instead of UTF8String. Please correct me if I'm wrong. This has several side effects: 1. When using a character outside BMP FPC stops with: Error: UTF-8 code greater than 65535

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Michael Van Canneyt
On Fri, 5 May 2017, Mattias Gaertner wrote: On Fri, 5 May 2017 14:30:32 +0200 (CEST) Michael Van Canneyt wrote: [...] > AFAIK FPC stores UTF-8 string literals (-Fcutf8) as widestrings > instead of UTF8String. Please correct me if I'm wrong. To make sure I was

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Sven Barth via fpc-devel
Am 05.05.2017 16:03 schrieb "Juha Manninen" : > > On Fri, May 5, 2017 at 2:53 PM, Mattias Gaertner > wrote: > > 1. When using a character outside BMP FPC stops with: > > Error: UTF-8 code greater than 65535 found > > For example: > > const

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Mattias Gaertner
On Fri, 5 May 2017 15:55:32 +0200 (CEST) Michael Van Canneyt wrote: > On Fri, 5 May 2017, Mattias Gaertner wrote: > > > On Fri, 5 May 2017 14:30:32 +0200 (CEST) > > Michael Van Canneyt wrote: > > > >> [...] > >> > AFAIK FPC stores UTF-8

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Sven Barth via fpc-devel
Am 05.05.2017 15:55 schrieb "Michael Van Canneyt" : > > > > On Fri, 5 May 2017, Mattias Gaertner wrote: > >> On Fri, 5 May 2017 14:30:32 +0200 (CEST) >> Michael Van Canneyt wrote: >> >>> [...] >>> > AFAIK FPC stores UTF-8 string literals (-Fcutf8)

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Michael Van Canneyt
On Fri, 5 May 2017, Juha Manninen wrote: On Fri, May 5, 2017 at 2:53 PM, Mattias Gaertner wrote: 1. When using a character outside BMP FPC stops with: Error: UTF-8 code greater than 65535 found For example: const Eyes = ''; I copy a related post from Lazarus

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Mattias Gaertner
On Fri, 5 May 2017 14:30:32 +0200 (CEST) Michael Van Canneyt wrote: >[...] > > AFAIK FPC stores UTF-8 string literals (-Fcutf8) as widestrings > > instead of UTF8String. Please correct me if I'm wrong. > > > > This has several side effects: > > > > 1. When using a

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Juha Manninen
On Fri, May 5, 2017 at 2:53 PM, Mattias Gaertner wrote: > 1. When using a character outside BMP FPC stops with: > Error: UTF-8 code greater than 65535 found > For example: > const Eyes = ''; I copy a related post from Lazarus list by myself and Sven Barth. It belongs

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Michael Van Canneyt
On Fri, 5 May 2017, Sven Barth via fpc-devel wrote: Am 05.05.2017 15:55 schrieb "Michael Van Canneyt" : On Fri, 5 May 2017, Mattias Gaertner wrote: On Fri, 5 May 2017 14:30:32 +0200 (CEST) Michael Van Canneyt wrote: [...] AFAIK FPC

Re: [fpc-devel] UTF-8 string literals

2017-05-05 Thread Michael Van Canneyt
On Fri, 5 May 2017, Mattias Gaertner wrote: On Fri, 5 May 2017 15:55:32 +0200 (CEST) Michael Van Canneyt wrote: On Fri, 5 May 2017, Mattias Gaertner wrote: > On Fri, 5 May 2017 14:30:32 +0200 (CEST) > Michael Van Canneyt wrote: > >> [...]