Visual C++ vector warning

R

rob

Hey,

I'm getting an error message (C4786) while compiling some code that
contains a vector of strings "vector <string> myVector(4);" i've added
"#pragma warning(disable:4786)" to the preprocessing stage which has
disabled the warning messages for my code (i no longer get a warning
from myCode.cpp) but the warning still appears from an MS Include
file.

I'm pretty sure it's ok to ignore this warning in that it only affects
the debugger and not the programs performance, but does anyone know
how i mite turn the warning message off?

Cheers all,

Rob.

Error message C4786 below:
c:\program files\microsoft visual studio\vc98\include\vector(47) :
information
 
K

Karl Heinz Buchegger

Please see the thread entitled: 'So many warnings'
It covers the very same topic.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top