diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-28 12:43:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-28 12:43:28 +0200 |
commit | e9a84342f8423708b1779606bcad45ff75b6bf88 (patch) | |
tree | 5159efc44369ccc58fae0162fd1fccbfb3f35e3b /odb/odb.cxx | |
parent | e286f8e078a29dec70e4c515d6afa5b000638980 (diff) |
Disable warnings about deprecated constructs
If desired, those should be picked up by the user's C++ compiler, not ODB
compiler.
Diffstat (limited to 'odb/odb.cxx')
-rw-r--r-- | odb/odb.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 |