This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/15276] Erroneous Comparisons of Negative Characters
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2004 23:02:34 -0000
- Subject: [Bug libstdc++/15276] Erroneous Comparisons of Negative Characters
- References: <20040504045136.15276.mckelvey@maskull.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-05-05 23:02 -------
Subject: Re: Erroneous Comparisons of Negative Characters
"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:
| > I think any reasoning based on a ghost consistency with C string
| > is just going to make the issue messier and more confused.
|
| Actually, if some sort of consistency with memcmp & co, that is the C library
| functions for C strings and char arrays, is not a requirement, the issue is not
| messy *at all*: you just give away some performance and implement the letter of
| traits::compare in Table 37.
Sorry. I really don't understand what you're trying to say in this
message.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15276