# one more thing with visual C++ 2005

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

## 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 on other sites
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.