This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36921] New: comparsion does not have mathematical meaning is not correct
- From: "deba at inf dot elte dot hu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2008 20:27:19 -0000
- Subject: [Bug c++/36921] New: comparsion does not have mathematical meaning is not correct
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In c++ the operators could be overloaded, therefore in special cases it could
have real and correct mathematical meaning. In my opinion, the bool-numeric
comparisons should be warned instead of the current solution.
--
Summary: comparsion does not have mathematical meaning is not
correct
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: deba at inf dot elte dot hu
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36921