This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36760] Simple std::bind use causes warnings with -Wextra



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]