-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Restore some SDL warnings (first pass) #6961
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
Conversation
|
Hello @asklar! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
Will these warnings show up now (or not since they're 'not needed')? If so should we create tasks to fix them? |
@rectified95 no, these are warnings that were disabled but we don't have any code that triggers them now, maybe we used to :) |
|
Just to be sure, do we know if the warnings are currently enabled in this repo? Some of the code has history in other repos, which might have slightly different configuration for detecting anything opt-in. |
|
I think some of these may be off by default, even at /W4.
Would be great to do a sanity check. Like, seeing if it's picked up with /Wall, or creating some code that what violate the error and see if it's caught. I think some different projects may also have different settings for warnings as errors. I remember some work in that area last year but don't remember outcomes. |
|
Looks like these don't show up in the off by default list. Signing off. |
|
@asklar @NickGerleman Any chance we can get this backported to 0.63/0.64? |

Removes some "disable warnings" that are not needed. These warnings are required per SDL.
Microsoft Reviewers: Open in CodeFlow