游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1667|回复: 0

3D??虺淌皆O?入? ?例???warning

[复制链接]

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
发表于 2005-11-4 00:34:00 | 显示全部楼层 |阅读模式
3D??虺淌皆O?入? 使用Directx9.0??作 Chapter 1\D3D9 Init
????例在VC++6.0 build all?r回?生?多??,如下.
???如何??些?息不?,VC++Net Build All就不?
附上source code
http://www.vchelp.net/cndevforum/subject_view.asp?subject_id=160602&forum_id=28

Compiling...
d3dInit.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<unsigned short,char,int> ...
c:\program files\microsoft visual studio\vc98\include\xlocale(398) : warning C4511: 'codecvt<unsigned short,char,int>' : copy constructor could not be generated
c:\program files\microsoft visual studio\vc98\include\xlocale(296) : see declaration of 'codecvt<unsigned short,char,int>'
c:\program files\microsoft visual studio\vc98\include\xlocale(398) : warning C4512: 'codecvt<unsigned short,char,int>' : assignment operator could not be generated
c:\program files\microsoft visual studio\vc98\include\xlocale(296) : see declaration of 'codecvt<unsigned short,char,int>'
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<char> ...
c:\program files\microsoft visual studio\vc98\include\xlocale(611) : warning C4511: 'ctype<char>' : copy constructor could not be generated
c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype<char>'
c:\program files\microsoft visual studio\vc98\include\xlocale(611) : warning C4512: 'ctype<char>' : assignment operator could not be generated
c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype<char>'
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<char,struct std::char_traits<char> >' 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<unsigned short,struct std::char_traits<unsigned short> >' being compiled
c:\program files\microsoft visual studio\vc98\include\xlocale(513) : warning C4511: 'ctype<unsigned short>' : copy constructor could not be generated
c:\program files\microsoft visual studio\vc98\include\istream(573) : see reference to class template instantiation 'std::ctype<unsigned short>' being compiled
c:\program files\microsoft visual studio\vc98\include\xlocale(513) : warning C4512: 'ctype<unsigned short>' : assignment operator could not be generated
c:\program files\microsoft visual studio\vc98\include\istream(573) : see reference to class template instantiation 'std::ctype<unsigned short>' being compiled
e:\00tmp\3d??虺淌皆O?入? 使用directx9.0??作(with project)\bookpart2code\chapter 1\d3d9 init\d3dinit.cpp(39) : warning C4100: 'timeDelta' : unreferenced formal parameter
e:\00tmp\3d??虺淌皆O?入? 使用directx9.0??作(with project)\bookpart2code\chapter 1\d3d9 init\d3dinit.cpp(79) : warning C4100: 'showCmd' : unreferenced formal parameter
e:\00tmp\3d??虺淌皆O?入? 使用directx9.0??作(with project)\bookpart2code\chapter 1\d3d9 init\d3dinit.cpp(78) : warning C4100: 'cmdLine' : unreferenced formal parameter
e:\00tmp\3d??虺淌皆O?入? 使用directx9.0??作(with project)\bookpart2code\chapter 1\d3d9 init\d3dinit.cpp(77) : warning C4100: 'prevInstance' : unreferenced formal parameter
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<char,struct std::char_traits<char> >::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<unsigned short,struct std::char_traits<unsigned short> >::imbue(const class std::loca
le &)'
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<char,std::char_traits<char>,std::allocator<char> >::npos'
d3dUtility.cpp
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<char,struct std::char_traits<char> >::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<unsigned short,struct std::char_traits<unsigned short> >::imbue(const class std::loca
le &)'
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<char,std::char_traits<char>,std::allocator<char> >::npos'
Linking...
Creating browse info file...

DX9Test.exe - 0 error(s), 29 warning(s)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-22 12:07

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表