Jump to content
  • Advertisement
Sign in to follow this  

How do get rid of warnings: macro redefinition, VS2005

This topic is 5103 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!