Question: I've got totally no experience with VS anyversion, Just installed the VS2015 Community version, downloaded the SDK and did my first build ever of foo_sample. Component compiled without errors and shows up in FB2K. So far so good,
However, the build process produced a bucket load of warnings. Most were related to a GetVersion/GetVersionExW being deprecated, things like "conversion from 'X' to 'Y' requires a narrowing conversion" and truncation warnings. Since the component did compile without errors I take it these can be ignored, but nevertheless seeing all those warnings come by makes me uncertain since I have no idea what they mean (yet) being totally new to VS2015.
I take it I can safely ignore all this?
You're essentially being told that some variables may, at times, not be exactly equal to what you expect. If you explicitly used narrowing or truncation, it's expected that you knew what you were doing. If you didn't (which the messages tell me is the situation), you have potential problems with values being different from what you expect.
You can always ignore warnings, but that seldom ends well in most situations.
Indeed :D I've got no idea what I'm doing. Like I said, first time ever installing a VS environment and only to comment out 1 line and recompile a component for personal use... Was just curious if it could mean I still had not set up the environment correctly.
If the component worked properly in the past, you may be okay. Unless, of course, you commented out something important.
Seeing as I'm barely VS-savvy, I'll have to let the experts provide any other suggestions.