13
0

fix boost warnings when *not* using --cxx11

Ultimately we should probably move to std::bind and std::placeholders
This commit is contained in:
Paul Davis 2022-07-29 09:42:18 -06:00
parent 2471e90fae
commit f18803e19f

View File

@ -753,7 +753,7 @@ int main() { return 0; }''',
# need ISOC9X for llabs() # need ISOC9X for llabs()
compiler_flags.extend( compiler_flags.extend(
('-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE', ('-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_BIND_GLOBAL_PLACEHOLDERS', '-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',