Jump to content
  • Advertisement
Sign in to follow this  
Rubiks14

one more thing with visual C++ 2005

This topic is 4587 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

ok i think this will be my last question about visual C++ 2005 for a lil while...anyway set it up to where certain level warnings don't effect weather the program compiles or not...because there are a couple programs on the gametutorials cd that i can't compile because visual C++ thinks that a function is unsafe and that it would be better to use a different one...and it's driving me nuts

Share this post


Link to post
Share on other sites
Advertisement
Warnings don't normally prevent the compiler from succeeding. Here is some output to show you:
c:\...\win32_test.cpp(32) : warning C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be unsafe. ...
...
win32_test - 0 error(s), 1 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Perhaps something else is the source of your problem.

There is a check box in the project's C++ properties -- "Treat Warnings As Errors". You want this to be set to No. However, that is the default setting, so maybe that isn't the problem. It's hard to figure out what the problem is from your description.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!