Sign in to follow this  

How do get rid of warnings: macro redefinition, VS2005

Recommended Posts

I just started using VS2005, first things I did was add winxp sdk sp2 dir to the include list, now everytime i compile i get about 30 warnings on how specstrings.h(win xp sdk) is redefining macros that are in sal.h(vs includes). The warnings are as follows: ...\microsoft platform sdk for windows xp sp2\include\specstrings.h(334) : warning C4005: '__reserved' : macro redefinition ...\microsoft visual studio 8\vc\include\sal.h(702) : see previous definition of '__reserved' The are about 30 total. Im wondering how to get rid of these warnings. Im not including these directly so is there some way to tell VS to just disregard them. Its just a pain wading through 30 warings when I compile. Thx for the help.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this