del_opv.cc: Suppress -Wsized-deallocation.
authorJason Merrill <jason@redhat.com>
Thu, 21 May 2015 15:12:40 +0000 (11:12 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 May 2015 15:12:40 +0000 (11:12 -0400)
* libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
* libsupc++/del_op.cc: Likewise.

From-SVN: r223488

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/del_op.cc
libstdc++-v3/libsupc++/del_opv.cc

index 5797c970f4bb199d76405f8884068dbbb131de67..3b44f54e91f8b9330261843bd9556a4e75a8e99f 100644 (file)
@@ -1,3 +1,8 @@
+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
index 06eb2a0f062fff4be57d20cb2ddc4652c603be4e..8e7aa2f2d6020e698d1c3cc750c463846740b5cc 100644 (file)
@@ -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
 {
index 6fc1710d4a00d0eb8e220052f1b68d9f5b3e6b98..0a050bb35b7e0a32c68d227a263cc189c4ae0c98 100644 (file)
@@ -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
 {