Use std::placeholders by default
This commit is contained in:
parent
fa57d5ed86
commit
4687a5a886
3
wscript
3
wscript
@ -562,7 +562,6 @@ int main() { return 0; }''',
|
|||||||
cxx_flags.append('-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION')
|
cxx_flags.append('-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION')
|
||||||
else:
|
else:
|
||||||
cxx_flags.append('-DBOOST_NO_AUTO_PTR')
|
cxx_flags.append('-DBOOST_NO_AUTO_PTR')
|
||||||
cxx_flags.append('-DBOOST_BIND_GLOBAL_PLACEHOLDERS')
|
|
||||||
|
|
||||||
if (is_clang and platform == "darwin"):
|
if (is_clang and platform == "darwin"):
|
||||||
# Silence warnings about the non-existing osx clang compiler flags
|
# Silence warnings about the non-existing osx clang compiler flags
|
||||||
@ -747,7 +746,7 @@ int main() { return 0; }''',
|
|||||||
|
|
||||||
# need ISOC9X for llabs()
|
# need ISOC9X for llabs()
|
||||||
compiler_flags.extend(
|
compiler_flags.extend(
|
||||||
('-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_BIND_GLOBAL_PLACEHOLDERS', '-D_ISOC9X_SOURCE',
|
('-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE',
|
||||||
'-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'))
|
'-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'))
|
||||||
cxx_flags.extend(
|
cxx_flags.extend(
|
||||||
('-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS',
|
('-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS',
|
||||||
|
Loading…
Reference in New Issue
Block a user