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

SCons: Enable /WX on LINKFLAGS for MSVC with werror=yes #80711

Merged

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented Aug 17, 2023

Draft as it should fail due to #80095 (comment).
Edit: Fixed by #80713.

For the record, the option is already enabled in godot-cpp, unconditionally: https://github.com/godotengine/godot-cpp/blob/master/tools/windows.py#L35
I guess it makes sense there as we don't want potential linking warnings that would impact loading dynamic libraries.

@akien-mga akien-mga added enhancement platform:windows topic:buildsystem cherrypick:3.x Considered for cherry-picking into a future 3.x release cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release labels Aug 17, 2023
@akien-mga akien-mga added this to the 4.2 milestone Aug 17, 2023
@akien-mga akien-mga force-pushed the scons-msvc-werror-link-flags branch from 4d6a55a to aa4b9e9 Compare August 17, 2023 11:41
@akien-mga akien-mga force-pushed the scons-msvc-werror-link-flags branch from aa4b9e9 to 30bdb23 Compare August 17, 2023 13:52
@akien-mga akien-mga marked this pull request as ready for review August 17, 2023 13:52
@akien-mga akien-mga requested a review from a team as a code owner August 17, 2023 13:52
@akien-mga akien-mga requested a review from a team August 17, 2023 13:52
@akien-mga akien-mga merged commit ff5c884 into godotengine:master Aug 18, 2023
@akien-mga akien-mga deleted the scons-msvc-werror-link-flags branch August 18, 2023 07:32
@akien-mga
Copy link
Member Author

Cherry-picked for 3.6.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Aug 29, 2023
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.2.

@YuriSizov YuriSizov removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants