Skip to content

Commit

Permalink
Revert "build: enable Boost.MultiIndex safe mode in debug builds"
Browse files Browse the repository at this point in the history
This reverts commit 80f6755, which
was causing random/nonsensical crashes in dependent projects when
mixing debug and release builds (I assume because safe mode changes
the ABI).

Change-Id: Ie9d039939f18ae3e04ca27816b7c30433ab3974c
  • Loading branch information
Pesa committed Jun 9, 2024
1 parent 80f6755 commit ed47b29
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .waf-tools/default-compiler-flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,7 @@ def getDebugFlags(self, conf):
return {
'CXXFLAGS': [],
'LINKFLAGS': [],
'DEFINES': [
'BOOST_ASIO_NO_DEPRECATED',
'BOOST_FILESYSTEM_NO_DEPRECATED',
'BOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING',
'BOOST_MULTI_INDEX_ENABLE_SAFE_MODE',
],
'DEFINES': ['BOOST_ASIO_NO_DEPRECATED', 'BOOST_FILESYSTEM_NO_DEPRECATED'],
}

def getOptimizedFlags(self, conf):
Expand Down

0 comments on commit ed47b29

Please sign in to comment.