13
0

gcc5/c++11 deprecates std::auto_ptr

This commit is contained in:
Robin Gareus 2015-09-26 00:22:56 +02:00
parent 26fdf99a92
commit 0613b7517c

View File

@ -394,6 +394,8 @@ int main() { return 0; }''',
linker_flags.append('--stdlib=libstdc++') linker_flags.append('--stdlib=libstdc++')
# Prevents visibility issues in standard headers # Prevents visibility issues in standard headers
conf.define("_DARWIN_C_SOURCE", 1) 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']: if (is_clang and platform == "darwin") or conf.env['build_host'] in ['mavericks', 'yosemite']:
# Silence warnings about the non-existing osx clang compiler flags # Silence warnings about the non-existing osx clang compiler flags