X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <5974A319.8070300@gmx.de> Date: Sun, 23 Jul 2017 15:22:33 +0200 From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: DJGPP doesn't support std::wstring? References: <59728009 DOT 7010801 AT gmx DOT de> <5ba63d08-999c-db29-3e59-5feca8f71c38 AT iki DOT fi> <597482DE DOT 2010800 AT gmx DOT de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:2HHiHo0ui0P5W2qiqCa2l/+mVm9o6XpHXySOGJPpgLSTBuR9jID ZX9uBx1p4Kn3wcv0OdQ0PX1uP3Jr/FLq7n07YBdN9Ww85AXL+sU11s2RjjQ29tXqeChrl8j uLZck1msDGo3NWRBQWUf+iOMURzRh3iFTmhfFXnon0ImcjYyMOsgJP+yVH9XhVJ+7PuF82K qa6uXHaP7M3dr7j7GB5XA== X-UI-Out-Filterresults: notjunk:1;V01:K0:dtTYeJaTBKc=:sCpWmfrQiMBKF4F20AGPOh IWqtvDCpNsEwpUwbLIKK7CYhtfcQRZe5FqkH30YPdWv+v2rJe8t5uRWCXw2dnx8Ssu9qAVLPl H0oCYUq2zSQGIAVLwjk8pfbhxetpiktPB04BdrAzpuiYIb7A3UazqiNxi4kMJ6lwNGVFdZgZi iMZ9PQwNzOLJUY/g/ujot32o8Iye6V/sxOqmkRdtyo6SQWyVTE14vxH+YgPDB+ZKAXkv2Bn7Q AoUkHnZQgzrb0n2pu6F0LhFUu1t9+sQHKsiWMob5JMR7L0ImFPpOTTqp/wMBEdqgSwp5giqmh lKSbyOVSUqqOGk63z7a+v0fIrLMDnPu1a7FagbfoMei9aiOXRcb6jSpMRx1s6TxmDYRuZ0p/P RdutqtCfJ25AI7X2nQxPnD7iDDdiXq9hgvu8ugasN9PYjx9hqZBNz//rUuRw/RxpxJTJCKnQo lozYyTOTDNlQOsHcPQkNDQCJJ2qfxaE7BMPkGmpIgNBnDXs7ewKLnWDQ9jZLEVdLwolF9TkUW CMp0oviDJjoHBP/7LIUISvTtbjTNAiMtj0fZU0MqUXIz9eJE0a9u3Fq6EmMa5XdNYZHkuEHnR Zu1KdTCDrQ4QO925nGOeTxT8yCS4lFEv0Yir2HT8V1FG8PJJXerkxMphj0nDOMe6ZZazbJFS4 jXA7GPYZBXWwCGGev1K7A43DTWG3Fq+qqUB91H/NBeTQKh01aChgTXgStlxDzMu7tgkoXr+Nq goVz/ssiQHIEzgL6rYgH9ta8zm01SlQVTKsIrn1v2jt0/c4yp2jmge5fXhwOxFlmxlymiArrI Sd2YSiZsjXC0nwNS9lK6jBY1DcjDo1Ud5nyrCt2/MXjYMKt3q0= Reply-To: djgpp AT delorie DOT com Am 23.07.2017 13:50, schrieb Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]: > On 07/23/2017 02:05 PM, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com] wrote: >> Am 22.07.2017 18:16, schrieb Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]: >>> On 07/22/2017 01:28 AM, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com] wrote: >>>> Am 21.07.2017 14:56, schrieb Andrew Wu (andrewwu DOT tw AT gmail DOT com) [via djgpp AT delorie DOT com]: >>>> [snip] >>>>> >>>>> Any method to support wstring in DJGPP? >>>> [snip] >>>> >>>> No, if no one implements this stuff from scratch. >>>> DJGPP 2.05 with gcc 7.1.0 has never supported neither wide characters nor multi byte strings. >>>> This is also true for any previous version of DJGPP no matter what gcc version has been used. >>>> It is very unlikely that some developer will volunteer to implement this stuff for DJGPP. >>>> In the very best case you will have to find some auxiliar library that provides the missing >>>> functionality. But I doubt that that will solve all issues. >>>> >>>> Regards, >>>> Juan M. Guerrero >>>> >>> There was actually implementation of wide character support almost 20 years ago. Some of mails at DJGPP workers (not all of them) are >>> >>> http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/1998/09/10/18:45:06 >>> >>> http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/1998/09/15/09:53:11 >>> >>> http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/1998/09/11/13:02:03 >>> >>> Original URL from last of these mails do not respond now and it did no more contain the files when I looked last time long ago as far as I remember. >>> >>> The problem is that that nobody took the work of actually integrating these additions in DJGPP libc then. Good news is that I still have these files laying around >>> >>> http://ap1.pp.fi/djgpp/misc/ >>> >>> I raised this topic before releasing DJGPP v2.05. It was then decided to postpone it. >>> >>> Andris >>> >> >> >> Some remarks about the code: > > This is was unedited archive from very end last century, so not surprising that we have different requirements now almost 20 years later. > I have not looked into details of the patch from the previous message. I still think that we need to get in what we already have separately. > > Andris > I do not understand what are the impediments to commit what we already have (aka wchar.zip and after having fixed everthing). There is absolute no release planed for the near future so we have years ahead to adjust the code of wchar.zip and to implement what is possible to implement at all and to fix the issues that all this may rise. As I have tried to explained, all the code is a simple copy of the equivalent char versions. Thus there should neither be a copyright issue nor a quality or functional issue. I am writting some small testsuite for the existing code that shall reveal issues. It may be added to the repository if the wide char stuff is added to the repository. I am aware that the original author (Mark E) no longer contributes and any pending copyright issues rised by this code have to be decided by DJ anyway. Regards, Juan M. Guerrero