Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

STL (vector) warnings

Status
Not open for further replies.

ceodav

Programmer
Feb 21, 2003
106
0
0
IT
Hi,

i'm using STL vector in my application...truly i make a wide use of these...
if i compile with level 3 (inside settings) i get no errors and no warnings during compiling
but if i set level 4 i got hundreds of warnings....

Every warning is inside the include files

xlocale
xmemory
vector
streambuf

here some examples

xmemory(39) : warning C4100: '_P' : unreferenced formal parameter
xlocale(296) : warning C4663: C++ language change: to explicitly specialize class template 'codecvt' use the following syntax:
template<> class codecvt<unsigned short,char,int> ...
streambuf(181) : warning C4100: '_Loc' : unreferenced formal parameter
streambuf(182) : while compiling class-template member function 'void __thiscall std::basic_streambuf<unsigned short,struct std::char_traits<unsigned short> >::imbue(const class std::loca

am i wrong in something?
or it is better set the level 3 and forget all the warnings?

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top