Skip to content

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

Merged
Brian Robbins (brianrob) merged 2 commits into
microsoft:mainfrom
brianrob:brianrob/warnings
Jul 16, 2026
Merged

Enable W4 and warnings as errors for C++ projects#2441
Brian Robbins (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
Brian Robbins (brianrob) requested a review from a team as a code owner July 15, 2026 20:22
Comment thread src/EtwClrProfiler/CorProfilerTracer.cpp

@mconnew Matt Connew (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
@brianrob
Brian Robbins (brianrob) enabled auto-merge (squash) July 15, 2026 23:08
@brianrob
Brian Robbins (brianrob) merged commit fea55d6 into microsoft:main Jul 16, 2026
5 checks passed
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