From e9a84342f8423708b1779606bcad45ff75b6bf88 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Feb 2012 12:43:28 +0200 Subject: Disable warnings about deprecated constructs If desired, those should be picked up by the user's C++ compiler, not ODB compiler. --- odb/odb.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/odb/odb.cxx b/odb/odb.cxx index 861f16e..0a117ad 100644 --- a/odb/odb.cxx +++ b/odb/odb.cxx @@ -328,6 +328,7 @@ main (int argc, char* argv[]) args.push_back (""); // Reserve space for -std=c++XX. args.push_back ("-S"); args.push_back ("-Wunknown-pragmas"); + args.push_back ("-Wno-deprecated"); args.push_back ("-fplugin=" + plugin.string ()); // Add the default preprocessor defines (-D/-U) before the user-supplied -- cgit v1.1