This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36760] Simple std::bind use causes warnings with -Wextra
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2008 01:40:48 -0000
- Subject: [Bug c++/36760] Simple std::bind use causes warnings with -Wextra
- References: <bug-36760-5473@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from paolo dot carlini at oracle dot com 2008-07-08 01:40 -------
By the way, apparently, even after the fix for c++/32256 and c++/32368,
warnings keep coming from inside the system headers... Any idea why, Tom?
Another case would be this one:
http://gcc.gnu.org/ml/libstdc++/2008-06/msg00080.html
Is it because these warnings are really spuriously coming from the middle-end
per the audit trail of the latter issue, PR 36633 ?
Thus, assuming we generically want this warning (as I understand from the audit
trails of PR 30601), the real issue is fixing the C++ front-end to not pass
bogus stuff to the middle-end? Or the two issues are different?
One final remark: if we add -Wsystem-headers to the command line *many* more
type qualifiers ignored warning are emitted, a tiny part somehow escapes...
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org,
| |tromey at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-07-08 01:40:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36760