Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-07 Thread John Lee
I've lost track of what are the issues in this thread, but if the tar of the source files is less than 2G and you want to transfer it tar I have a 2G or so ftp site that you could use to transfer the tar. Let me know and I'll send the details via private email to each of you that needs it. john

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

2017-05-07 Thread Sven Barth via fpc-devel
On 07.05.2017 14:16, Marco van de Voort wrote: > In our previous episode, Sven Barth via fpc-devel said: Is there a plan to fix it? >>> >>> Now it is fixed :D (revision 36116; maybe we should merge that to fixes >> once I or someone else tested a big endian target) >> >> Okay, it works

Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-07 Thread Mark Morgan Lloyd
On 05/05/17 16:00, Pierre Muller wrote: You probably need to add the -Xn option into the makepack script! Thanks for the pointer as to where it goes: those last words stopped me spending days looking for the appropriate makefile :-) If I do this it builds successfully: *sunos*)

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

2017-05-07 Thread Marco van de Voort
In our previous episode, Sven Barth via fpc-devel said: > > > Is there a plan to fix it? > > > > Now it is fixed :D (revision 36116; maybe we should merge that to fixes > once I or someone else tested a big endian target) > > Okay, it works correctly on big endian targets as well (and Mac OS X

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

2017-05-07 Thread Sven Barth via fpc-devel
Am 05.05.2017 16:08 schrieb "Sven Barth" : > > 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

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

2017-05-07 Thread Michael Van Canneyt
On Sun, 7 May 2017, Mattias Gaertner wrote: On Sun, 7 May 2017 10:27:58 +0200 Florian Klaempfl wrote: [...] 2. What would happen then the other way around? When casting the string constant to a PUnicodeChar (what probably a lot of delphi code does)? Good point.

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

2017-05-07 Thread Mattias Gaertner
On Sun, 7 May 2017 10:27:58 +0200 Florian Klaempfl wrote: >[...] > 2. What would happen then the other way around? When casting the string > constant to a PUnicodeChar (what probably a lot of delphi code does)? Good point. >[...] > I think, it would nice if Michael (v.

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

2017-05-07 Thread Florian Klaempfl
Am 05.05.2017 um 13:53 schrieb Mattias Gaertner: > Hi, > > AFAIK FPC stores UTF-8 string literals (-Fcutf8) -Fc tells the compiler only the encoding of the source code page, it says nothing how string constant shall be encoded. > as widestrings > instead of UTF8String. Please correct me if I'm