Skip to content

Conversation

@dunhor
Copy link
Member

@dunhor dunhor commented Jan 17, 2026

This has been long overdue

#pragma warning(push)
// The updated behavior of running init-list ctors during placement new is proper & correct, disable the warning that requests developers verify they want it
#pragma warning(disable : 4351)
// remove this after fixing - volatile access of '<expression>' is subject to /volatile:<iso|ms> setting; consider using __iso_volatile_load/store intrinsic functions
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @jonwis I noticed this when copying the changes

__pragma(warning(suppress : 4297)); \
LOG_CAUGHT_EXCEPTION(); \
return; \
__pragma(warning(push)) __pragma(warning(disable : 4297)) LOG_CAUGHT_EXCEPTION(); \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should update .clang-format to treat __pragma(...) as a full statement

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.

2 participants