This project has moved. For the latest updates, please go here.
1

Closed

A few C4091 and C4996 warnings in VS2015

description

Hi,
first of all: thanks for creating this.
When using the StackWalker in a fresh VS2015 command line program, I am seeing the following warnings:
Severity    Code    Description Project File    Line    Suppression State
Warning C4091   'typedef ': ignored on left of '' when no variable is declared  MyTestApp   C:\Program Files (x86)\Windows Kits\8.1\Include\um\dbghelp.h    1544    
Warning C4091   'typedef ': ignored on left of '' when no variable is declared  MyTestApp   C:\Program Files (x86)\Windows Kits\8.1\Include\um\dbghelp.h    3190    
Warning C4091   'typedef ': ignored on left of 'StackWalkerInternal::IMAGEHLP_MODULE64_V3' when no variable is declared MyTestApp   E:\MyTestApp\External\StackWalker\StackWalker.cpp   445 
Warning C4091   'typedef ': ignored on left of 'StackWalkerInternal::IMAGEHLP_MODULE64_V2' when no variable is declared MyTestApp   E:\MyTestApp\External\StackWalker\StackWalker.cpp   458 
Warning C4996   'GetVersionExA': was declared deprecated    MyTestApp   E:\MyTestApp\External\StackWalker\StackWalker.cpp   1345    
I know it's just warnings, but perhaps they are relevant or are easy to fix?
Using VS2015 Community Edition (update 3).
Thanks,
Koen

comments

KoenT wrote Dec 18, 2016 at 1:00 AM

Add-on note: the 2015 solution coming with the repository actually seems to be still a vs2010 project (for which I don't have the build tools any longer). So that's probably why you might not have encountered this?
My project was created from scratch in VS2015.

jkalmbach wrote Dec 30, 2016 at 10:00 AM

I have updated the trunk to (correctly) use VS2015

KoenT wrote Dec 31, 2016 at 2:36 AM

Thanks, all fine now!