This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/15276] Erroneous Comparisons of Negative Characters


------- Additional Comments From mckelvey at maskull dot com  2004-05-05 03:18 -------
>> I suspect that was is really needed is a clarification in the standard: the
>> specification for traits::compare, strictly speaking is inconsistent with
>> std::strcmp.

Well, instead, why not just have C++ work properly, as defined reasonably by the
standard in Table 37? std::strcmp is not mentioned, and is therefore irrelevant.
compare is inconsistent with lt; do you think that codifying that behavior is a
"clarification", or is it more akin to saying that, when convenient, 2 + 2 = 5?

Referring to the comments in

http://gcc.gnu.org/ml/libstdc++/2004-05/msg00009.html

there is nothing pedantic about the definition of compare in Table 37, it is
clearly and simply stated.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15276


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]