This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54194] GCC 4.8 gives misleading suggestion about arithmetic in operand of '|'
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Aug 2012 19:35:45 +0000
- Subject: [Bug c++/54194] GCC 4.8 gives misleading suggestion about arithmetic in operand of '|'
- Auto-submitted: auto-generated
- References: <bug-54194-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54194
--- Comment #2 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-08-07 19:35:45 UTC ---
Use warning_at and pass down the correct location of the operator if possible,
otherwise input_location?
Of course, it would be nice to have ranges but I have given up on that.