Skip to content

Commit

Permalink
(#24371) boost: fix aliasing violation in boost::container
Browse files Browse the repository at this point in the history
Apply a patch to Boost 1.85.0 to fix aliasing violations within
boost::container that affect object construction when optimizations are
enabled.

Patch is taken from upstream commit
boostorg/container@20ad12f
The .gitignore change in the upstream patch was removed.
  • Loading branch information
praetorian20 authored Jun 18, 2024
1 parent a664d76 commit 541bfe2
Show file tree
Hide file tree
Showing 2 changed files with 421 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/boost/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ patches:
- patch_file: "patches/1.82.0-locale-iconv-library-option.patch"
patch_description: "Optional flag to specify iconv from either libc of libiconv"
patch_type: "conan"
- patch_file: "patches/1.85.0-container-aliasing-violation-fix.patch"
patch_description: "Fix aliasing violation in boost::container"
patch_type: "official"
patch_source: "https://github.com/boostorg/container/commit/20ad12f20e661978e90dc7f36d8ab8ac05e5a5a9"
"1.84.0":
- patch_file: "patches/1.82.0-locale-iconv-library-option.patch"
patch_description: "Optional flag to specify iconv from either libc of libiconv"
Expand Down
Loading

0 comments on commit 541bfe2

Please sign in to comment.