Commit 4177264e by Jason Merrill Committed by Jason Merrill

del_opv.cc: Suppress -Wsized-deallocation.

	* libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
	* libsupc++/del_op.cc: Likewise.

From-SVN: r223488
parent da0bfb86
2015-05-21 Jason Merrill <jason@redhat.com>
* libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
* libsupc++/del_op.cc: Likewise.
2015-05-20 François Dumont <fdumont@gcc.gnu.org>
* include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
......
......@@ -40,6 +40,9 @@ _GLIBCXX_END_NAMESPACE_VERSION
#include "new"
// The sized deletes are defined in other files.
#pragma GCC diagnostic ignored "-Wsized-deallocation"
_GLIBCXX_WEAK_DEFINITION void
operator delete(void* ptr) _GLIBCXX_USE_NOEXCEPT
{
......
......@@ -26,6 +26,9 @@
#include <bits/c++config.h>
#include "new"
// The sized deletes are defined in other files.
#pragma GCC diagnostic ignored "-Wsized-deallocation"
_GLIBCXX_WEAK_DEFINITION void
operator delete[] (void *ptr) _GLIBCXX_USE_NOEXCEPT
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment