visual studio 2012 - VS 2008 to VS2012 migration giving macro redefinition warnings -


i working win7 x64 system; multiple vc++ , c# projects , have moved vs2008 vs2012. getting warnings saying:-

-------------------- warning c4005: '__on_failure' : macro redefinition  c:\program files (x86)\microsoft visual studio 11.0\vc\include\sal.h    2883  warning c4005: '__useheader' : macro redefinition   c:\program files (x86)\microsoft visual studio 11.0\vc\include\sal.h    2872  warning c4005: '__useheader' : macro redefinition   c:\program files\microsoft sdks\windows\v7.1\include\sal_supp.h 58 

  1. i have tried changing platform toolset v110_xp not working

  2. when added #undef code concerned files error gone not way it.

  3. also saw changing sdk include directory v7.1a $(windowssdk_includepath) 8.0 didn't understand how it.


Comments