-
Notifications
You must be signed in to change notification settings - Fork 53
Fix intel compiler warnings #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Looks good to me, but someone else should approve. Warning 1 warning C4267: 'argument' : conversion from 'size_t' to 'unsigned long', possible loss of data f:\work\SlicerExecutionModel\SlicerExecutionModel\ModuleDescriptionParser\ModuleFactory.cxx 2077 |
SlicerExecutionModel/tclap/include/tclap/CmdLine.h(297): remark #522: function "TCLAP::CmdLine::_constructor" redeclared "inline" after being called SlicerExecutionModel/tclap/include/tclap/CmdLine.h(360): remark #522: function "TCLAP::CmdLine::add(TCLAP::Arg *)" redeclared "inline" after being called SlicerExecutionModel/tclap/include/tclap/CmdLine.h(419): remark #522: function "TCLAP::CmdLine::_emptyCombined" redeclared "inline" after being called SlicerExecutionModel/tclap/include/tclap/CmdLine.h(431): remark #522: function "TCLAP::CmdLine::deleteOnExit(TCLAP::Arg *)" redeclared "inline" after being called SlicerExecutionModel/tclap/include/tclap/CmdLine.h(436): remark #522: function "TCLAP::CmdLine::deleteOnExit(TCLAP::Visitor *)" redeclared "inline" after being called In addition several unused variable warnings were removed.
Fix intel compiler warnings. Rebased against 20120911 master repository.
Sample failure output: 2: Test command: C:\Misc\SlicerExecutionModel\bld22\ModuleDescriptionParser\bin\Debug\Parser1Test.exe "C:/Misc/SlicerExecutionModel/ModuleDescriptionParser/Testing/TestData/ParserTest2.xml" 2: Working Directory: C:/Misc/SlicerExecutionModel/bld22/ModuleDescriptionParser/Testing 2: Test timeout computed to be: 1500 2: not well-formed (invalid token) at line 111 1/2 Test #2: Parser1Test2 .....................***Failed 0.02 sec
A few compiler warnings found by the intel compiler.