From 739cdc9041fbf867b8228ac9ff890045f366caf1 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 28 Jan 2015 15:02:28 +0000 Subject: [PATCH] =?utf8?q?re=20PR=20libstdc++/64828=20(libstdc++-v3/libsup?= =?utf8?q?c++/del=5Fopvs.cc:30:1:=20warning:=20=E2=80=98void=20operator=20?= =?utf8?q?delete=20[](void*,=20std::size=5Ft)=E2=80=99=20is=20a=20usual=20?= =?utf8?q?(non-placement)=20deallocation=20function=20in=20C++14=20(or=20w?= =?utf8?q?ith=20-fsized-deallocation)=20[-Wc++14-compat])?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PR libstdc++/64828 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14. * libsupc++/Makefile.in: Regenerate. * src/c++11/Makefile.in: Regenerate. From-SVN: r220207 --- libstdc++-v3/ChangeLog | 7 +++++++ libstdc++-v3/libsupc++/Makefile.am | 4 ++++ libstdc++-v3/libsupc++/Makefile.in | 4 ++++ libstdc++-v3/src/c++11/Makefile.in | 8 ++++---- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b33a8aaad3b..323c8d2feba 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2015-01-28 Jonathan Wakely + + PR libstdc++/64828 + * libsupc++/Makefile.am: Compile del_opvs.cc as C++14. + * libsupc++/Makefile.in: Regenerate. + * src/c++11/Makefile.in: Regenerate. + 2015-01-28 Kyrylo Tkachov * testsuite/lib/libstdc++.exp (v3_target_compile): Remove diff --git a/libstdc++-v3/libsupc++/Makefile.am b/libstdc++-v3/libsupc++/Makefile.am index aace1a6fe76..b87ffbf2490 100644 --- a/libstdc++-v3/libsupc++/Makefile.am +++ b/libstdc++-v3/libsupc++/Makefile.am @@ -182,6 +182,10 @@ del_ops.lo: del_ops.cc $(LTCXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $< del_ops.o: del_ops.cc $(CXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $< +del_opvs.lo: del_opvs.cc + $(LTCXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $< +del_opvs.o: del_opvs.cc + $(CXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $< # AM_CXXFLAGS needs to be in each subdirectory so that it can be # modified in a per-library or per-sub-library way. Need to manually diff --git a/libstdc++-v3/libsupc++/Makefile.in b/libstdc++-v3/libsupc++/Makefile.in index 50fee54a922..0ab04175d14 100644 --- a/libstdc++-v3/libsupc++/Makefile.in +++ b/libstdc++-v3/libsupc++/Makefile.in @@ -875,6 +875,10 @@ del_ops.lo: del_ops.cc $(LTCXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $< del_ops.o: del_ops.cc $(CXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $< +del_opvs.lo: del_opvs.cc + $(LTCXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $< +del_opvs.o: del_opvs.cc + $(CXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $< install-stdHEADERS: $(std_HEADERS) @$(NORMAL_INSTALL) diff --git a/libstdc++-v3/src/c++11/Makefile.in b/libstdc++-v3/src/c++11/Makefile.in index 70d5bd770dd..12b6346cbbe 100644 --- a/libstdc++-v3/src/c++11/Makefile.in +++ b/libstdc++-v3/src/c++11/Makefile.in @@ -74,10 +74,10 @@ libc__11convenience_la_LIBADD = am__objects_2 = ctype_configure_char.lo ctype_members.lo am__objects_3 = chrono.lo codecvt.lo condition_variable.lo \ cow-stdexcept.lo ctype.lo debug.lo functexcept.lo \ - functional.lo futex.lo future.lo hash_c++0x.lo hashtable_c++0x.lo \ - ios.lo limits.lo mutex.lo placeholders.lo random.lo regex.lo \ - shared_ptr.lo snprintf_lite.lo system_error.lo thread.lo \ - $(am__objects_1) $(am__objects_2) + functional.lo futex.lo future.lo hash_c++0x.lo \ + hashtable_c++0x.lo ios.lo limits.lo mutex.lo placeholders.lo \ + random.lo regex.lo shared_ptr.lo snprintf_lite.lo \ + system_error.lo thread.lo $(am__objects_1) $(am__objects_2) @ENABLE_DUAL_ABI_TRUE@am__objects_4 = cow-fstream-inst.lo \ @ENABLE_DUAL_ABI_TRUE@ cow-sstream-inst.lo cow-string-inst.lo \ @ENABLE_DUAL_ABI_TRUE@ cow-wstring-inst.lo cxx11-locale-inst.lo \ -- 2.30.2