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