Skip to content

Disable the use of [[msvc::no_unique_address]] on versions prior to 1943… - #557

Closed
pdimov wants to merge 1 commit into
developfrom
pr/msvc-no-unique-address
Closed

Disable the use of [[msvc::no_unique_address]] on versions prior to 1943…#557
pdimov wants to merge 1 commit into
developfrom
pr/msvc-no-unique-address

Conversation

@pdimov

@pdimov pdimov commented Sep 12, 2026

Copy link
Copy Markdown
Member

…, because it causes a warning in C++14 and C++17 mode. Refs #499.

…943, because it causes a warning in C++14 and C++17 mode. Refs #499.
@pdimov

pdimov commented Sep 13, 2026

Copy link
Copy Markdown
Member Author

On second thought, updating msvc-14.3 silently changing the layout of classes using BOOST_ATTRIBUTE_NO_UNIQUE_ADDRESS might be problematic. We do this for different compiler versions (which is why we mangle the toolset name into the library name), but doing it within the same compiler version might be a bit too much.

@pdimov pdimov closed this Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant