This topic is now archived and is closed to further replies.


VC waring question

Recommended Posts

c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\useoldio.h(29) : warning C4995: ''_OLD_IOSTREAMS_ARE_DEPRECATED'': name was marked as #pragma deprecated what is this warning means? the help file said: "The compiler encountered a function that was marked with pragma deprecated. The function may no longer be supported in a future release." How will this affect my program? I would highly appriciate any help.

Share this post

Link to post
Share on other sites
from the actual file "useoldio.h"....

* Warning C4995, ''_OLD_IOSTREAMS_ARE_DEPRECATED'' is a deprecated name, is
* being issued because the old I/O Streams headers iostreams.h et al will no
* longer be supported from VC8. Replace references such as #include
* with #include <iostreams>, using the new, more conformant, I/O
* Streams headers.

this means that your programs will compile fine under vc7 but not under vc8. deprecated means stop using iostreams.h and start using iostreams....

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.

Share this post

Link to post
Share on other sites