From 0613b7517c905f16877ba352e7ba9d8f5862a307 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 26 Sep 2015 00:22:56 +0200 Subject: gcc5/c++11 deprecates std::auto_ptr --- wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index b24e561e96..857f89ccf8 100644 --- a/wscript +++ b/wscript @@ -394,6 +394,8 @@ int main() { return 0; }''', linker_flags.append('--stdlib=libstdc++') # Prevents visibility issues in standard headers conf.define("_DARWIN_C_SOURCE", 1) + else: + cxx_flags.append('-DBOOST_NO_AUTO_PTR') if (is_clang and platform == "darwin") or conf.env['build_host'] in ['mavericks', 'yosemite']: # Silence warnings about the non-existing osx clang compiler flags -- cgit v1.2.3