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: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2008 14:28:27 -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 #8 from mmitchel at gcc dot gnu dot org 2008-07-09 14:28 -------
Paolo --
You're absolutely right; I'd not thought about the orthogonality between what
the library should do and how the compiler should behave. I agree that the
patch is correct; go ahead check it in.
I was also trying to raise the issue of whether we think the warning is useful.
If it's not practical to avoid the warning in the library, then I wonder if
it's practical to avoid it other generic-programming code. But, I agree that
this is a separate issue.
Thanks,
-- Mark
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36760