You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going to fix the warnings in the library code and enable the warning. For now I'm going to keep the warning disabled in tests, since it is more effort to fix. Hopefully that is good enough.
Long term Strategy:
Once this fix goes into an abseil release and vcpkg picks this latest release up, we can bump up our vcpkg baseline and remove the temporary patch introduced in our codebase.
Things to look into:
Although not blocking, do check if rest of the warnings actually need to be disabled in the first place.
Might be a larger effort from abseil as this would mean validating across multiple compilers and warning flags.
Describe the issue
Error description:
error BA2007: '{{abseil.dll}}' disables compiler warning(s) which are required by policy.
Modules triggering this check were:
bad_variant_access.cc.obj (absl_bad_variant_access.lib) [Explicitly disabled warnings: 4244;4267]
Abseil code leading to the errors on Binskim:
Steps to reproduce the problem
What version of Abseil are you using?
Latest / any version of abseil with the warning flags disabled should do
What operating system and version are you using?
Windows 11 Enterprise 10.0.22631
What compiler and version are you using?
MSVC
What build system are you using?
cmake 3.30
Additional context
No response
The text was updated successfully, but these errors were encountered: