[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 30 15:09:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Actually we can use this around the definition of default_delete<>
#pragma GCC diagnostic push
#pragma GCC diagnostic warning "-Wsystem-headers"
/// Primary template of default_delete, used by unique_ptr
template<typename _Tp>
struct default_delete
{
...
};
#pragma GCC diagnostic pop
More information about the Gcc-bugs
mailing list