From a470a13a7063e8c5318fe4f5ba864320092c6c7b Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 12 Mar 2019 20:10:06 +0000 Subject: [libc++] Enable deprecation warnings by default Summary: In r342843, I added deprecation warnings to some facilities that were deprectated in C++14 and C++17. However, those deprecation warnings were not enabled by default. After discussing this on IRC, we had finally gotten consensus to enable those warnings by default, and I'm getting around to doing that only now. Reviewers: mclow.lists, EricWF Subscribers: christof, jkorous, dexonsmith, jdoerfert, libcxx-commits Differential Revision: https://reviews.llvm.org/D58140 llvm-svn: 355961 --- libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp') diff --git a/libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp b/libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp index d9f3c95fd89..57d41a0d0f4 100644 --- a/libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp @@ -10,6 +10,8 @@ // not2 +#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS + #include #include -- cgit v1.2.3