[Bug c++/36921] [4.3/4.4 Regression] warning comparison does not have mathematical meaning is not correct for overloaded operators that do not return boolean

2008-12-20 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2008-12-20 18:47 --- Subject: Bug 36921 Author: jakub Date: Sat Dec 20 18:46:12 2008 New Revision: 142849 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142849 Log: PR c++/36921 * c-common.c

[Bug c++/36921] [4.3/4.4 Regression] warning comparison does not have mathematical meaning is not correct for overloaded operators that do not return boolean

2008-12-03 Thread mmitchel at gcc dot gnu dot org
--- Comment #8 from mmitchel at gcc dot gnu dot org 2008-12-03 17:47 --- I'm not convinced that we shouldn't warn in these cases. Yes, there are cases where people overload the operators in ways that make normal precedence irrelevant. But, there are also cases where people define

[Bug c++/36921] [4.3/4.4 Regression] warning comparison does not have mathematical meaning is not correct for overloaded operators that do not return boolean

2008-12-03 Thread deba at inf dot elte dot hu
--- Comment #9 from deba at inf dot elte dot hu 2008-12-03 19:26 --- (In reply to comment #8) I'm not convinced that we shouldn't warn in these cases. Yes, there are cases where people overload the operators in ways that make normal precedence irrelevant. But, there are also cases

[Bug c++/36921] [4.3/4.4 Regression] warning comparison does not have mathematical meaning is not correct for overloaded operators that do not return boolean

2008-10-25 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2008-10-25 14:53 --- Patch and update summary. -- manu at gcc dot gnu dot org changed: What|Removed |Added