[Bug libstdc++/70692] No warning when std::function<const int&(...)> binds a reference to a temporary

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 16 14:08:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70692

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Bah, it seems that -Wsystem-headers doesn't get turned off again by the

#pragma GCC diagnostic pop


More information about the Gcc-bugs mailing list