Jump to content
  • Advertisement
Sign in to follow this  
howie_007

Lots of the same warnings when compiling under VS 2015

This topic is 1052 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is just a small sample. Just wondering if this is anything to be concerned about.

1>..\..\source\as_compiler.cpp(101): warning C4458: declaration of 'builder' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(312): note: see declaration of 'asCCompiler::builder'
1>..\..\source\as_compiler.cpp(101): warning C4458: declaration of 'script' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(314): note: see declaration of 'asCCompiler::script'
1>..\..\source\as_compiler.cpp(101): warning C4458: declaration of 'outFunc' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(315): note: see declaration of 'asCCompiler::outFunc'
1>..\..\source\as_compiler.cpp(121): warning C4458: declaration of 'builder' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(312): note: see declaration of 'asCCompiler::builder'
1>..\..\source\as_compiler.cpp(121): warning C4458: declaration of 'script' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(314): note: see declaration of 'asCCompiler::script'
1>..\..\source\as_compiler.cpp(121): warning C4458: declaration of 'outFunc' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(315): note: see declaration of 'asCCompiler::outFunc'
1>..\..\source\as_compiler.cpp(178): warning C4458: declaration of 'builder' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(312): note: see declaration of 'asCCompiler::builder'
1>..\..\source\as_compiler.cpp(178): warning C4458: declaration of 'script' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(314): note: see declaration of 'asCCompiler::script'
1>..\..\source\as_compiler.cpp(178): warning C4458: declaration of 'outFunc' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(315): note: see declaration of 'asCCompiler::outFunc'
1>..\..\source\as_compiler.cpp(413): warning C4458: declaration of 'byteCode' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(305): note: see declaration of 'asCCompiler::byteCode'
1>..\..\source\as_compiler.cpp(515): warning C4458: declaration of 'builder' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(312): note: see declaration of 'asCCompiler::builder'
1>..\..\source\as_compiler.cpp(515): warning C4458: declaration of 'script' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(314): note: see declaration of 'asCCompiler::script'
1>..\..\source\as_compiler.cpp(515): warning C4458: declaration of 'outFunc' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(315): note: see declaration of 'asCCompiler::outFunc'
1>..\..\source\as_compiler.cpp(959): warning C4456: declaration of 'ctx' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(905): note: see declaration of 'ctx'
1>..\..\source\as_compiler.cpp(980): warning C4456: declaration of 'ctx' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(905): note: see declaration of 'ctx'
1>..\..\source\as_compiler.cpp(1187): warning C4458: declaration of 'builder' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(312): note: see declaration of 'asCCompiler::builder'
1>..\..\source\as_compiler.cpp(1187): warning C4458: declaration of 'script' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(314): note: see declaration of 'asCCompiler::script'
1>..\..\source\as_compiler.cpp(1187): warning C4458: declaration of 'outFunc' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(315): note: see declaration of 'asCCompiler::outFunc'
1>..\..\source\as_compiler.cpp(1691): warning C4456: declaration of 'dt' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(1443): note: see declaration of 'dt'
1>..\..\source\as_compiler.cpp(2009): warning C4456: declaration of 'n' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(1957): note: see declaration of 'n'
1>..\..\source\as_compiler.cpp(2324): warning C4456: declaration of 'cost' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(2172): note: see declaration of 'cost'
1>..\..\source\as_compiler.cpp(3135): warning C4458: declaration of 'byteCode' hides class member
1>  c:\svnopengl\angelscript\source\as_compiler.h(305): note: see declaration of 'asCCompiler::byteCode'
1>..\..\source\as_compiler.cpp(3790): warning C4456: declaration of 'n' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(3730): note: see declaration of 'n'
1>..\..\source\as_compiler.cpp(3803): warning C4456: declaration of 'n' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(3730): note: see declaration of 'n'
1>..\..\source\as_compiler.cpp(5421): warning C4457: declaration of 'to' hides function parameter
1>  ..\..\source\as_compiler.cpp(5239): note: see declaration of 'to'
1>..\..\source\as_compiler.cpp(5607): warning C4456: declaration of 's' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(5542): note: see declaration of 's'
1>..\..\source\as_compiler.cpp(5703): warning C4456: declaration of 's' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(5542): note: see declaration of 's'
1>..\..\source\as_compiler.cpp(8571): warning C4456: declaration of 'ns' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(8409): note: see declaration of 'ns'
1>..\..\source\as_compiler.cpp(8586): warning C4456: declaration of 'ns' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(8409): note: see declaration of 'ns'
1>..\..\source\as_compiler.cpp(8669): warning C4456: declaration of 'v' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(8199): note: see declaration of 'v'
1>..\..\source\as_compiler.cpp(9573): warning C4456: declaration of 'beh' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(9538): note: see declaration of 'beh'
1>..\..\source\as_compiler.cpp(9642): warning C4456: declaration of 'funcs' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(9455): note: see declaration of 'funcs'
1>..\..\source\as_compiler.cpp(10821): warning C4456: declaration of 'funcs' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(10792): note: see declaration of 'funcs'
1>..\..\source\as_compiler.cpp(11013): warning C4456: declaration of 'funcs' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(10984): note: see declaration of 'funcs'
1>..\..\source\as_compiler.cpp(12036): warning C4456: declaration of 'n' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(11978): note: see declaration of 'n'
2>  b2DistanceJoint.cpp
1>..\..\source\as_compiler.cpp(12863): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
1>..\..\source\as_compiler.cpp(13085): warning C4456: declaration of 'to' hides previous local declaration
1>  ..\..\source\as_compiler.cpp(13077): note: see declaration of 'to'
1>..\..\source\as_compiler.cpp(13261): warning C4457: declaration of 'op' hides function parameter
1>  ..\..\source\as_compiler.cpp(13199): note: see declaration of 'op'
1>c:\svnopengl\angelscript\source\as_array.h(471): warning C4458: declaration of 'array' hides class member
1>  c:\svnopengl\angelscript\source\as_array.h(86): note: see declaration of 'asCArray<char>::array'
1>  c:\svnopengl\angelscript\source\as_array.h(472): note: while compiling class template member function 'void asCArray<char>::Concatenate(T *,unsigned int)'
1>          with
1>          [
1>              T=char
1>          ]
1>  ..\..\source\as_compiler.cpp(9088): note: see reference to function template instantiation 'void asCArray<char>::Concatenate(T *,unsigned int)' being compiled
1>          with
1>          [
1>              T=char
1>          ]
1>  ..\..\source\as_compiler.cpp(8909): note: see reference to class template instantiation 'asCArray<char>' being compiled

Share this post


Link to post
Share on other sites
Advertisement

Looks like Microsoft has added new warnings in the latest version of the compiler. 

 

It's nothing to worry about for now, but I'll take care of them once I upgrade to MSVC2015 myself (I'm still using MSVC2012). 

 

Regards,

Andreas

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!