diff options
author | Jason Merrill <jason@redhat.com> | 2015-05-21 11:12:40 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-05-21 11:12:40 -0400 |
commit | 4177264e09e997c54a58a714fde0588592a87c65 (patch) | |
tree | 76758f4d92f7ef229d0fafeef38b46392413030a /libstdc++-v3/libsupc++/del_opv.cc | |
parent | da0bfb866eaa5ae5888e8815ec75878a43892dfb (diff) | |
download | gcc-4177264e09e997c54a58a714fde0588592a87c65.zip gcc-4177264e09e997c54a58a714fde0588592a87c65.tar.gz gcc-4177264e09e997c54a58a714fde0588592a87c65.tar.bz2 |
del_opv.cc: Suppress -Wsized-deallocation.
* libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
* libsupc++/del_op.cc: Likewise.
From-SVN: r223488
Diffstat (limited to 'libstdc++-v3/libsupc++/del_opv.cc')
-rw-r--r-- | libstdc++-v3/libsupc++/del_opv.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/libsupc++/del_opv.cc b/libstdc++-v3/libsupc++/del_opv.cc index 6fc1710..0a050bb 100644 --- a/libstdc++-v3/libsupc++/del_opv.cc +++ b/libstdc++-v3/libsupc++/del_opv.cc @@ -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 { |