메뉴 바로가기 검색 및 카테고리 바로가기

한빛미디어

뇌를 자극하는 C++ 프로그래밍

뇌를 자극하는 C++ 프로그래밍 질의응답 게시판입니다.

p 122에서 warning 뜨는 데...

2006-09-01

|

by byC++

3011

p 122에서
#include
#include 로 순서를 바꾸었더니 "36 warning(s)"이 뜨는 데 이유를 모르겠습니다.

순서를 제대로 했는데 warning 또 뜨고 다른 예제를 했는 데도 뜨고 warning이 뜨는 것을 막을 수 없습니까.
부탁드리겠습니다.


Compiling...
Liking.cpp
c:\program files\microsoft visual studio\vc98\include\xmemory(39) : warning C4100: \_P : unreferenced formal parameter
c:\program files\microsoft visual studio\vc98\include\xmemory(41) : warning C4100: \_P : unreferenced formal parameter
c:\program files\microsoft visual studio\vc98\include\xlocale(242) : warning C4511: codecvt_base : copy constructor could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocale(223) : see declaration of codecvt_base
c:\program files\microsoft visual studio\vc98\include\xlocale(242) : warning C4512: codecvt_base : assignment operator could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocale(223) : see declaration of codecvt_base
c:\program files\microsoft visual studio\vc98\include\xlocale(296) : warning C4663: C++ language change: to explicitly specialize class template codecvt use the following syntax:
        template<> class codecvt ...
c:\program files\microsoft visual studio\vc98\include\xlocale(398) : warning C4511: codecvt : copy constructor could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocale(296) : see declaration of codecvt
c:\program files\microsoft visual studio\vc98\include\xlocale(398) : warning C4512: codecvt : assignment operator could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocale(296) : see declaration of codecvt
c:\program files\microsoft visual studio\vc98\include\xlocale(387) : warning C4018: < : signed/unsigned mismatch
c:\program files\microsoft visual studio\vc98\include\xlocale(420) : warning C4511: ctype_base : copy constructor could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocale(410) : see declaration of ctype_base
c:\program files\microsoft visual studio\vc98\include\xlocale(420) : warning C4512: ctype_base : assignment operator could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocale(410) : see declaration of ctype_base
c:\program files\microsoft visual studio\vc98\include\xlocale(519) : warning C4663: C++ language change: to explicitly specialize class template ctype use the following syntax:
        template<> class ctype ...
c:\program files\microsoft visual studio\vc98\include\xlocale(611) : warning C4511: ctype : copy constructor could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of ctype
c:\program files\microsoft visual studio\vc98\include\xlocale(611) : warning C4512: ctype : assignment operator could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of ctype
c:\program files\microsoft visual studio\vc98\include\xlocale(552) : warning C4100: \_D : unreferenced formal parameter
c:\program files\microsoft visual studio\vc98\include\xlocale(554) : warning C4100: \_D : unreferenced formal parameter
c:\program files\microsoft visual studio\vc98\include\ostream(50) : warning C4512: sentry : assignment operator could not be generated
        c:\program files\microsoft visual studio\vc98\include\ostream(38) : see declaration of sentry
        c:\program files\microsoft visual studio\vc98\include\ostream(373) : see reference to class template instantiation std::basic_ostream > being compiled
c:\program files\microsoft visual studio\vc98\include\ostream(50) : warning C4512: sentry : assignment operator could not be generated
        c:\program files\microsoft visual studio\vc98\include\ostream(38) : see declaration of sentry
        c:\program files\microsoft visual studio\vc98\include\ostream(379) : see reference to class template instantiation std::basic_ostream > being compiled
c:\program files\microsoft visual studio\vc98\include\xlocale(513) : warning C4511: ctype : copy constructor could not be generated
        c:\program files\microsoft visual studio\vc98\include\istream(573) : see reference to class template instantiation std::ctype being compiled
c:\program files\microsoft visual studio\vc98\include\xlocale(513) : warning C4512: ctype : assignment operator could not be generated
        c:\program files\microsoft visual studio\vc98\include\istream(573) : see reference to class template instantiation std::ctype being compiled
c:\program files\microsoft visual studio\vc98\include\xlocnum(639) : warning C4511: um_put > > : copy constructor could not be generated
        c:\program files\microsoft visual studio\vc98\include\ostream(87) : see reference to class template instantiation std::num_put > > being compiled
        c:\program files\microsoft visual studio\vc98\include\ostream(79) : while compiling class-template member function class std::basic_ostream > &__thiscall std::basic_ostream r> >::operator <<(short)
c:\program files\microsoft visual studio\vc98\include\xlocnum(639) : warning C4512: um_put > > : assignment operator could not be generated
        c:\program files\microsoft visual studio\vc98\include\ostream(87) : see reference to class template instantiation std::num_put > > being compiled
        c:\program files\microsoft visual studio\vc98\include\ostream(79) : while compiling class-template member function class std::basic_ostream > &__thiscall std::basic_ostream r> >::operator <<(short)
c:\program files\microsoft visual studio\vc98\include\streambuf(181) : warning C4100: \_Loc : unreferenced formal parameter
        c:\program files\microsoft visual studio\vc98\include\streambuf(182) : while compiling class-template member function void __thiscall std::basic_streambuf >::imbue(const class std::locale &)
c:\program files\microsoft visual studio\vc98\include\streambuf(181) : warning C4100: \_Loc : unreferenced formal parameter
        c:\program files\microsoft visual studio\vc98\include\streambuf(182) : while compiling class-template member function void __thiscall std::basic_streambuf >::imbue(const class std::loca
le &)
c:\program files\microsoft visual studio\vc98\include\xlocnum(69) : warning C4511: umpunct : copy constructor could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocnum(465) : see reference to class template instantiation std::numpunct being compiled
        c:\program files\microsoft visual studio\vc98\include\xlocnum(460) : while compiling class-template member function class std::ostreambuf_iterator > __thiscall std::num_put tor > >::do_put(class std::ostreambuf_iterator >,class std::ios_base &,char,bool) const
c:\program files\microsoft visual studio\vc98\include\xlocnum(69) : warning C4512: umpunct : assignment operator could not be generated
        c:\program files\microsoft visual studio\vc98\include\xlocnum(465) : see reference to class template instantiation std::numpunct being compiled
        c:\program files\microsoft visual studio\vc98\include\xlocnum(460) : while compiling class-template member function class std::ostreambuf_iterator > __thiscall std::num_put tor > >::do_put(class std::ostreambuf_iterator >,class std::ios_base &,char,bool) const
c:\program files\microsoft visual studio\vc98\include\xlocnum(469) : warning C4018: <= : signed/unsigned mismatch
        c:\program files\microsoft visual studio\vc98\include\xlocnum(460) : while compiling class-template member function class std::ostreambuf_iterator > __thiscall std::num_put tor > >::do_put(class std::ostreambuf_iterator >,class std::ios_base &,char,bool) const
c:\program files\microsoft visual studio\vc98\include\bitset(242) : warning C4127: conditional expression is constant
        c:\program files\microsoft visual studio\vc98\include\bitset(242) : while compiling class-template member function void __thiscall std::bitset<8>::_Trim(void)
c:\program files\microsoft visual studio\vc98\include\bitset(242) : warning C4127: conditional expression is constant
        c:\program files\microsoft visual studio\vc98\include\bitset(242) : while compiling class-template member function void __thiscall std::bitset<16>::_Trim(void)
c:\program files\microsoft visual studio\vc98\include\bitset(242) : warning C4127: conditional expression is constant
        c:\program files\microsoft visual studio\vc98\include\bitset(242) : while compiling class-template member function void __thiscall std::bitset<32>::_Trim(void)
c:\program files\microsoft visual studio\vc98\include\xlocnum(543) : warning C4018: <= : signed/unsigned mismatch
        c:\program files\microsoft visual studio\vc98\include\xlocnum(542) : while compiling class-template member function class std::ostreambuf_iterator > __cdecl std::num_put > >::_Fput(class std::ostreambuf_iterator >,class std::ios_base &,char,const char *,unsigned int,unsigned int)
c:\program files\microsoft visual studio\vc98\include\xlocnum(599) : warning C4018: < : signed/unsigned mismatch
        c:\program files\microsoft visual studio\vc98\include\xlocnum(588) : while compiling class-template member function class std::ostreambuf_iterator > __cdecl std::num_put > >::_Iput(class std::ostreambuf_iterator >,class std::ios_base &,char,char *,unsigned int)
c:\program files\microsoft visual studio\vc98\include\xlocnum(606) : warning C4018: <= : signed/unsigned mismatch
        c:\program files\microsoft visual studio\vc98\include\xlocnum(588) : while compiling class-template member function class std::ostreambuf_iterator > __cdecl std::num_put > >::_Iput(class std::ostreambuf_iterator >,class std::ios_base &,char,char *,unsigned int)
c:\program files\microsoft visual studio\vc98\include\xstring(600) : warning C4245: initializing : conversion from const int to const unsigned int, signed/unsigned mismatch
        c:\program files\microsoft visual studio\vc98\include\xmemory(59) : while compiling class-template static data member const unsigned int std::basic_string,std::allocator >::npos
c:\program files\microsoft visual studio\vc98\include\ostream(291) : warning C4018: <= : signed/unsigned mismatch
        c:\c++\study_cpp\liking.cpp(13) : see reference to function template instantiation class std::basic_ostream > &__cdecl std::operator <<(class std::basic_ostream > &,const
char *) being compiled
c:\program files\microsoft visual studio\vc98\include\ostream(305) : warning C4018: != : signed/unsigned mismatch
        c:\c++\study_cpp\liking.cpp(13) : see reference to function template instantiation class std::basic_ostream > &__cdecl std::operator <<(class std::basic_ostream > &,const
char *) being compiled
c:\program files\microsoft visual studio\vc98\include\xlocnum(430) : warning C4100: \_Lobj : unreferenced formal parameter
        c:\program files\microsoft visual studio\vc98\include\xlocnum(431) : while compiling class-template member function void __thiscall std::num_put > >::_Init(const class s
td::_Locinfo &)
Linking...

STUDY_CPP.exe - 0 error(s), 36 warning(s)
댓글 입력
자료실