- CMake: added option to turn fail compilation if warning occurs, and warning level 4 with MSVC.

- Fixed some warnings
This commit is contained in:
Baptiste Lepilleur
2013-05-09 18:42:33 +00:00
parent 7b62ceacee
commit 700b38020e
4 changed files with 29 additions and 8 deletions

View File

@@ -1805,7 +1805,7 @@ Path::makePath( const std::string &path,
void
Path::addPathInArg( const std::string &path,
Path::addPathInArg( const std::string &/*path*/,
const InArgs &in,
InArgs::const_iterator &itInArg,
PathArgument::Kind kind )
@@ -1826,8 +1826,8 @@ Path::addPathInArg( const std::string &path,
void
Path::invalidPath( const std::string &path,
int location )
Path::invalidPath( const std::string &/*path*/,
int /*location*/ )
{
// Error: invalid path.
}