public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* RE: c++/5168: wrong memory representation of special wchar_t char acters like "." (the registered trademark sign)
@ 2001-12-21 2:56 Denkhaus, Volker
0 siblings, 0 replies; only message in thread
From: Denkhaus, Volker @ 2001-12-21 2:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/5168; it has been noted by GNATS.
From: "Denkhaus, Volker" <Volker.Denkhaus@softwareag.com>
To: "'neil@gcc.gnu.org'" <neil@gcc.gnu.org>,
"Denkhaus, Volker"
<Volker.Denkhaus@softwareag.com>,
"Stuehlmeyer, Wolfgang"
<Wolfgang.Stuehlmeyer@softwareag.com>,
"'Alex.Burggraf@softwareag-usa.com'" <Alex.Burggraf@softwareag-usa.com>,
"'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>,
"'gcc-prs@gcc.gnu.org'"
<gcc-prs@gcc.gnu.org>,
"'nobody@gcc.gnu.org'" <nobody@gcc.gnu.org>,
"'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>
Cc:
Subject: RE: c++/5168: wrong memory representation of special wchar_t char
acters like "." (the registered trademark sign)
Date: Fri, 21 Dec 2001 11:48:45 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C18A0D.103F5B00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I have submitted the code together with the problem subscription. I =
don't
know why it didn't work.
So I attach it to this mail.
regards,
Volker Denkhaus
-----Original Message-----
From: neil@gcc.gnu.org [mailto:neil@gcc.gnu.org]
Sent: Freitag, 21. Dezember 2001 11:45
To: Volker.Denkhaus@softwareag.com; =
Wolfgang.Stuehlmeyer@softwareag.com;
Alex.Burggraf@softwareag-usa.com; gcc-bugs@gcc.gnu.org;
gcc-prs@gcc.gnu.org; nobody@gcc.gnu.org
Subject: Re: c++/5168: wrong memory representation of special wchar_t
characters like "." (the registered trademark sign)
Synopsis: wrong memory representation of special wchar_t characters =
like "=AE"
(the registered trademark sign)
State-Changed-From-To: open->feedback
State-Changed-By: neil
State-Changed-When: Fri Dec 21 02:44:42 2001
State-Changed-Why:
Where is the code? Please cc gcc-gnats@gcc.gnu.org with it;
not me.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&database=
=3Dgcc&p
r=3D5168
------_=_NextPart_000_01C18A0D.103F5B00
Content-Type: application/octet-stream;
name="wchar.cxx"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="wchar.cxx"
#include <iostream>
using namespace std;
// output should be the same for both writes, but it isn't
// on ia64 compiled by gcc-3.0.2.
int main(int argc, char* argv[])
{
const wchar_t* p =3D L"=AE";
cout << hex << *((long*)p) << endl;
const wchar_t* d =3D L"\256";
cout << hex << *((long*)d) << endl;
return 0;
}
------_=_NextPart_000_01C18A0D.103F5B00--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-21 10:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-21 2:56 c++/5168: wrong memory representation of special wchar_t char acters like "." (the registered trademark sign) Denkhaus, Volker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).