Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

VS2015: fix some warnings #549

Merged
merged 1 commit into from
Jun 22, 2016
Merged

Conversation

ficristo
Copy link
Collaborator

@ficristo ficristo commented Feb 6, 2016

The warnings fixed were:

  • GetVersionEx is deprecated and so will raise warning as errors. There were two case: in one it checked if on Windows Vista or later in the second if on Windows XP or later.
    AFAICT the platforms supported are from Vista onwards: I removed the checks.
  • GdiPlus.h inclusion will raise some warnings so I disabled them
  • there were some redeclaration warnings

/cc @nethip

@petetnt
Copy link
Collaborator

petetnt commented Feb 9, 2016

Nice to see someone working on the VS2015 support: it's one of the two pain points of not being able to contribute so much on the brackets-shell side 👍 (Other one being that I don't have that much native coding experience but that's just a sidematter 😹

@nethip
Copy link
Contributor

nethip commented Apr 7, 2016

@ficristo Highly appreciate this.

}
psi->Release();
IFileDialog *pfd;
if (SUCCEEDED(CoCreateInstance(CLSID_FileOpenDialog, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pfd)))) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👏

Copy link
Contributor

Choose a reason for hiding this comment

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

Is the following code VS 2010 and VS 2013 neutral or does it have any hard dependency on VS 2105?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I simply deleted the old code and reindented.
I don't think there should be any dependency on VS2015.
The code was platform dependent, so if that platforms are not supported anymore should be fine both on VS2010 and VS2015 (I hope 👅)

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh I did not pay close attention to the code being indented. Then I think it is just fine.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If you add w=1 to an url on github you'll not see the whitespaces changes.
https://github.com/adobe/brackets-shell/pull/549/files?w=1
It can be useful to times like this

Copy link
Contributor

Choose a reason for hiding this comment

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

@ficristo Thanks for the tip! That is sure useful.

@ficristo ficristo mentioned this pull request Jun 22, 2016
@nethip nethip merged commit b680235 into adobe:master Jun 22, 2016
@nethip
Copy link
Contributor

nethip commented Jun 22, 2016

Thanks @ficristo

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.

3 participants