Skip to content

Conversation

@bradh352
Copy link
Member

@bradh352 bradh352 commented Jun 19, 2024

MSVC has been building with /W3 which isn't considered a safe level for modern code. /W4 is recommended, but it too is lacking some recommended options, so we enable /W4 and also the recommended options. We do, however, have to disable a couple of options due to Windows headers not being fully compliant sometimes as well as some things we do in c-ares that it doesn't like, but aren't actually bad.

Fix By: Brad House (@bradh352)

@bradh352 bradh352 marked this pull request as draft June 19, 2024 11:30
@bradh352 bradh352 marked this pull request as ready for review June 19, 2024 13:30
@bradh352 bradh352 changed the title enable more MSVC warnings MSVC: enable strict warnings Jun 19, 2024
@bradh352 bradh352 merged commit 268092a into c-ares:main Jun 19, 2024
@bradh352 bradh352 deleted the winwarn branch June 21, 2024 13:22
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