Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSVC warning fixes #545

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

MennoVink
Copy link

My dependent project uses set( CMAKE_CXX_STANDARD 20 ) and has /W0 set for libraries. This causes warnings to be generated from the EASTL sources as a result of the settings being injected by CommonCppFlags.cmake.

This pull request still keeps W4 for EASTL, but falls back to replacing rather than appending to prevent duplicating the /W# argument. It also unsets CMAKE_CXX_STANDARD to prevent cmake from generating a duplicate language specification.

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