Skip to content

Enable max warnlevel from C# compiler #62506

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

Merged
merged 1 commit into from
Dec 8, 2021
Merged

Enable max warnlevel from C# compiler #62506

merged 1 commit into from
Dec 8, 2021

Conversation

jcouv
Copy link
Member

@jcouv jcouv commented Dec 7, 2021

In .NET 6, the default warnlevel is 6. But the compiler is preparing to ship some warnlevel 7 warnings. Seems useful for the runtime repo to enable max warnlevel by default.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@jcouv jcouv self-assigned this Dec 7, 2021
@jcouv jcouv marked this pull request as ready for review December 8, 2021 01:01
@jcouv jcouv merged commit dc13605 into dotnet:main Dec 8, 2021
@jcouv jcouv deleted the warn-level branch December 8, 2021 06:38
@ghost ghost locked as resolved and limited conversation to collaborators Jan 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants