=== modified file 'src/model.cpp'
@@ -160,7 +160,7 @@
bool
Model::load_3ds(const std::string &filename)
{
- Object *object;
+ Object *object(0);
Log::debug("Loading model from 3ds file '%s'\n", filename.c_str());
=== modified file 'wscript'
@@ -62,7 +62,7 @@
ctx.check_cfg(package = pkg, uselib_store = uselib,
args = '--cflags --libs', mandatory = mandatory)
- ctx.env.append_unique('CXXFLAGS', '-Wall -Wextra -fms-extensions'.split(' '))
+ ctx.env.append_unique('CXXFLAGS', '-Wall -Werror -Wextra -fms-extensions'.split(' '))
# Prepend -O# and -g flags so that they can be overriden by the
# CFLAGS environment variable