gcc5/c++11 deprecates std::auto_ptr
This commit is contained in:
parent
26fdf99a92
commit
0613b7517c
2
wscript
2
wscript
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user