Skip to content
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

Fix warnings in natvis project #1463

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

DefaultRyan
Copy link
Member

There are a slew of compilation warnings in the natvis project. This addresses them.

Most are coming from a the <vsdebugeng.h> header in the Microsoft.VSSDK.Debugger.VSDebugEng.16.0.2012201-preview package.

But there were a few where a global variable named db was getting hidden by a local db in a different scope. Let's just give the global a more unique name for now.

@DefaultRyan DefaultRyan requested a review from Scottj1s December 12, 2024 04:57
@@ -4,7 +4,10 @@
#define NOMINMAX

#include <windows.h>
#pragma warning(push)
#pragma warning(disable : 4471)
#include <vsdebugeng.h>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a way to pull a newer version of this nuget package? I tried specifying the latest but couldn't nuget pull after that.

Copy link
Member Author

@DefaultRyan DefaultRyan Dec 12, 2024

Choose a reason for hiding this comment

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

I've tried before, and there's been some weirdness. But I've been making some visualizer improvements and hope to do some updating as part of that work! For now, though, I'm a big fan of keeping PRs tightly scoped when possible. :) My main goal here is to eliminate the warning spew that's currently happening in the repo so we can get everything resolved and prevent "warning creep" going forward.

@DefaultRyan DefaultRyan merged commit fd0e959 into master Dec 12, 2024
75 checks passed
@DefaultRyan DefaultRyan deleted the user/defaultryan/fix-warnings branch December 12, 2024 19:06
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