Skip to content

Enable W4 and warnings as errors for C++ projects#2441

Merged
brianrob merged 2 commits into
microsoft:mainfrom
brianrob:brianrob/warnings
Jul 16, 2026
Merged

Enable W4 and warnings as errors for C++ projects#2441
brianrob merged 2 commits into
microsoft:mainfrom
brianrob:brianrob/warnings

Conversation

@brianrob

Copy link
Copy Markdown
Member

Enables /W4 and /WX for both ETW CLR profiler projects and fixes the resulting warnings.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5b148be3-5dce-425e-b025-94eb7b8de1d5
@brianrob
brianrob requested a review from a team as a code owner July 15, 2026 20:22
Comment thread src/EtwClrProfiler/CorProfilerTracer.cpp
mconnew
mconnew previously approved these changes Jul 15, 2026

@mconnew mconnew left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small bit of potential cleanup related to one of the cleaned up lines.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5b148be3-5dce-425e-b025-94eb7b8de1d5
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.

2 participants