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

Reply via email to