Skip to content

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
#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.

3 participants