autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
configure.ac:31: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:31: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:31: the top level
configure.ac:53: warning: The macro 'AC_LANG_C' is obsolete.
configure.ac:53: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
configure.ac:53: the top level
configure.ac:54: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:54: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
acinclude.m4:12: AM_PATH_SDL is expanded from...
configure.ac:54: the top level
configure.ac:54: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:54: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
acinclude.m4:12: AM_PATH_SDL is expanded from...
configure.ac:54: the top level
configure.ac:65: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:65: You should run autoupdate.
./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from...
configure.ac:65: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:16: installing './compile'
configure.ac:15: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
In file included from CSdl.h:24,
from CSdl.cpp:21:
../../../../../src/framework/System/CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
CSdl.h:36:7: note: by ‘System::Information::Software::Sdl& System::Information::Software::Sdl::operator=(const System::Information::Software::Sdl&)’
36 | class Sdl : public Object
| ^~~
../../../../../src/framework/System/CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
In file included from CSdl.cpp:22:
../../../../../src/framework/System/CString.h:72:22: note: by ‘bool System::String::operator==(const char*) const’
72 | bool operator==(const char* const value) const;
| ^~~~~~~~
In file included from CMemberInfo.h:24,
from CMemberInfo.cpp:21:
../../../../src/framework/System/CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
In file included from CMemberInfo.h:25:
../../../../src/framework/System/CString.h:72:22: note: by ‘bool System::String::operator==(const char*) const’
72 | bool operator==(const char* const value) const;
| ^~~~~~~~
../../../../src/framework/System/CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
CMemberInfo.h:30:7: note: by ‘System::Reflection::MemberInfo& System::Reflection::MemberInfo::operator=(const System::Reflection::MemberInfo&)’
30 | class MemberInfo : public Object
| ^~~~~~~~~~
In file included from AValueType.h:24,
from AValueType.cpp:21:
CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
AValueType.h:32:7: note: by ‘System::ValueType& System::ValueType::operator=(const System::ValueType&)’
32 | class ValueType : public Object
| ^~~~~~~~~
In file included from AValueType.h:24,
from CNullValue.h:24,
from CString.cpp:21:
CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
AValueType.h:32:7: note: by ‘System::ValueType& System::ValueType::operator=(const System::ValueType&)’
32 | class ValueType : public Object
| ^~~~~~~~~
In file included from CConsole.h:24,
from CConsole.cpp:24:
CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
CConsole.h:36:7: note: by ‘System::Console& System::Console::operator=(const System::Console&)’
36 | class Console : public Object
| ^~~~~~~
In file included from AValueType.h:24,
from CNullValue.h:24,
from CObject.cpp:21:
CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
AValueType.h:32:7: note: by ‘System::ValueType& System::ValueType::operator=(const System::ValueType&)’
32 | class ValueType : public Object
| ^~~~~~~~~
CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
In file included from AValueType.cpp:22:
CString.h:72:22: note: by ‘bool System::String::operator==(const char*) const’
72 | bool operator==(const char* const value) const;
| ^~~~~~~~
CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
In file included from CString.cpp:22:
CString.h:72:22: note: by ‘bool System::String::operator==(const char*) const’
72 | bool operator==(const char* const value) const;
| ^~~~~~~~
CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
In file included from CConsole.cpp:25:
CString.h:72:22: note: by ‘bool System::String::operator==(const char*) const’
72 | bool operator==(const char* const value) const;
| ^~~~~~~~
CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
In file included from CObject.cpp:23:
CString.h:72:22: note: by ‘bool System::String::operator==(const char*) const’
72 | bool operator==(const char* const value) const;
| ^~~~~~~~
CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
In file included from CType.h:24,
from CObject.cpp:24:
Reflection/CMemberInfo.h:30:7: note: by ‘System::Reflection::MemberInfo& System::Reflection::MemberInfo::operator=(const System::Reflection::MemberInfo&)’
30 | class MemberInfo : public Object
| ^~~~~~~~~~
CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
CType.h:48:31: note: by ‘virtual System::Type& System::Type::operator=(const System::Type&)’
48 | virtual Type& operator=(const Type& type);
| ^~~~~~~~
CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
CType.h:49:30: note: by ‘virtual bool System::Type::operator==(const System::Type&) const’
49 | virtual bool operator==(const Type& type) const;
| ^~~~~~~~
In file included from AValueType.h:24,
from CNullValue.h:24,
from CNullValue.cpp:24:
CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
AValueType.h:32:7: note: by ‘System::ValueType& System::ValueType::operator=(const System::ValueType&)’
32 | class ValueType : public Object
| ^~~~~~~~~
CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
In file included from CNullValue.cpp:25:
CString.h:72:22: note: by ‘bool System::String::operator==(const char*) const’
72 | bool operator==(const char* const value) const;
| ^~~~~~~~
In file included from Reflection/CMemberInfo.h:24,
from CType.h:24,
from CType.cpp:21:
../../../src/framework/System/CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
In file included from Reflection/CMemberInfo.h:25:
../../../src/framework/System/CString.h:72:22: note: by ‘bool System::String::operator==(const char*) const’
72 | bool operator==(const char* const value) const;
| ^~~~~~~~
../../../src/framework/System/CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
Reflection/CMemberInfo.h:30:7: note: by ‘System::Reflection::MemberInfo& System::Reflection::MemberInfo::operator=(const System::Reflection::MemberInfo&)’
30 | class MemberInfo : public Object
| ^~~~~~~~~~
../../../src/framework/System/CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
CType.h:48:31: note: by ‘virtual System::Type& System::Type::operator=(const System::Type&)’
48 | virtual Type& operator=(const Type& type);
| ^~~~~~~~
../../../src/framework/System/CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
CType.h:49:30: note: by ‘virtual bool System::Type::operator==(const System::Type&) const’
49 | virtual bool operator==(const Type& type) const;
| ^~~~~~~~
filter/cutter.cpp: In destructor ‘virtual MapGen::Cutter::~Cutter()’:
filter/cutter.cpp:49:9: warning: deleting object of polymorphic class type ‘MapGen::CutterFunctor’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
49 | delete _cutterfunctor;
| ^~~~~~~~~~~~~~~~~~~~~
agentpolice.cpp: In member function ‘void AgentPolice::followPath()’:
agentpolice.cpp:423:14: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
423 | bool ok = false;
| ^~
model.cpp: In member function ‘void Model::DisplayList(const float&, const float&, const signed char*, uint) const’:
model.cpp:129:26: warning: narrowing conversion of ‘(((int)(*(tabY + 3))) - ((int)(* tabY)))’ from ‘int’ to ‘GLdouble’ {aka ‘double’} is ill-formed in C++11 [-Wnarrowing]
129 | 1,tabY[3]-tabY[0],0,0,
| ~~~~~~~^~~~~~~~
model.cpp:131:26: warning: narrowing conversion of ‘(((int)(*(tabY + 1))) - ((int)(* tabY)))’ from ‘int’ to ‘GLdouble’ {aka ‘double’} is ill-formed in C++11 [-Wnarrowing]
131 | 0,tabY[1]-tabY[0],1,0,
| ~~~~~~~^~~~~~~~
In file included from mainsim.h:24,
from mainsim.cpp:25:
simulator.h:194:9: warning: ‘virtual const int Simulator::GetMaxValue() const’ was hidden [-Woverloaded-virtual=]
194 | GetMaxValue() const;
| ^~~~~~~~~~~
mainsim.h:155:9: note: by ‘const int MainSim::GetMaxValue(Simulator::OPENCITY_SIMULATOR) const’
155 | GetMaxValue( const OPENCITY_SIMULATOR sim ) const;
| ^~~~~~~~~~~
simulator.h:126:9: warning: ‘virtual void Simulator::RemoveStructure(const uint&, const uint&, const uint&, const uint&)’ was hidden [-Woverloaded-virtual=]
126 | RemoveStructure(
| ^~~~~~~~~~~~~~~
mainsim.h:99:9: note: by ‘void MainSim::RemoveStructure(uint, uint, uint, uint, Simulator::OPENCITY_SIMULATOR)’
99 | RemoveStructure(
| ^~~~~~~~~~~~~~~
simulator.h:119:9: warning: ‘virtual void Simulator::AddStructure(const uint&, const uint&, const uint&, const uint&)’ was hidden [-Woverloaded-virtual=]
119 | AddStructure(
| ^~~~~~~~~~~~
mainsim.h:86:9: note: by ‘void MainSim::AddStructure(uint, uint, uint, uint, Simulator::OPENCITY_SIMULATOR)’
86 | AddStructure(
| ^~~~~~~~~~~~
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_execute_absolute_path(unsigned int, bool, bool)’:
xpath_processor.cpp:1003:11: warning: variable ‘i_bak_position’ set but not used [-Wunused-but-set-variable]
1003 | int i_bak_position, i_current, i_first, i_relative;
| ^~~~~~~~~~~~~~
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_order_recurs(TiXmlNode*, int&)’:
xpath_processor.cpp:2077:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
2077 | Np_base -> SetUserData ((void *) i_current++);
| ^~~~~~~~~~~~~~~~~~~~
In file included from xpath_processor.cpp:26:
In member function ‘void TinyXPath::xpath_processor::v_push_bool(bool)’,
inlined from ‘void TinyXPath::xpath_processor::v_function_relational(TinyXPath::expression_result**, unsigned int)’ at xpath_processor.cpp:1985:16:
xpath_processor.h:120:60: warning: ‘o_res’ may be used uninitialized [-Wmaybe-uninitialized]
120 | void v_push_bool (bool o_val) {xs_stack . v_push_bool (o_val);}
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_function_relational(TinyXPath::expression_result**, unsigned int)’:
xpath_processor.cpp:1931:9: note: ‘o_res’ was declared here
1931 | bool o_res;
| ^~~~~
In member function ‘void TinyXPath::xpath_processor::v_push_int(int, const char*)’,
inlined from ‘void TinyXPath::xpath_processor::v_function_mult(TinyXPath::expression_result**, unsigned int)’ at xpath_processor.cpp:2036:18:
xpath_processor.h:118:87: warning: ‘i_res’ may be used uninitialized [-Wmaybe-uninitialized]
118 | void v_push_int (int i_val, const char * cp_comment = "") {xs_stack . v_push_int (i_val, cp_comment);}
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_function_mult(TinyXPath::expression_result**, unsigned int)’:
xpath_processor.cpp:2021:29: note: ‘i_res’ was declared here
2021 | int i_arg_1, i_arg_2, i_res;
| ^~~~~
In member function ‘void TinyXPath::xpath_processor::v_push_double(double)’,
inlined from ‘void TinyXPath::xpath_processor::v_function_mult(TinyXPath::expression_result**, unsigned int)’ at xpath_processor.cpp:2017:21:
xpath_processor.h:121:66: warning: ‘d_res’ may be used uninitialized [-Wmaybe-uninitialized]
121 | void v_push_double (double d_val) {xs_stack . v_push_double (d_val);}
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_function_mult(TinyXPath::expression_result**, unsigned int)’:
xpath_processor.cpp:1997:32: note: ‘d_res’ was declared here
1997 | double d_arg_1, d_arg_2, d_res;
| ^~~~~
In file included from ../src/simulator/mainsim.h:24,
from city.cpp:27:
../src/simulator/simulator.h:194:9: warning: ‘virtual const int Simulator::GetMaxValue() const’ was hidden [-Woverloaded-virtual=]
194 | GetMaxValue() const;
| ^~~~~~~~~~~
../src/simulator/mainsim.h:155:9: note: by ‘const int MainSim::GetMaxValue(Simulator::OPENCITY_SIMULATOR) const’
155 | GetMaxValue( const OPENCITY_SIMULATOR sim ) const;
| ^~~~~~~~~~~
../src/simulator/simulator.h:126:9: warning: ‘virtual void Simulator::RemoveStructure(const uint&, const uint&, const uint&, const uint&)’ was hidden [-Woverloaded-virtual=]
126 | RemoveStructure(
| ^~~~~~~~~~~~~~~
../src/simulator/mainsim.h:99:9: note: by ‘void MainSim::RemoveStructure(uint, uint, uint, uint, Simulator::OPENCITY_SIMULATOR)’
99 | RemoveStructure(
| ^~~~~~~~~~~~~~~
../src/simulator/simulator.h:119:9: warning: ‘virtual void Simulator::AddStructure(const uint&, const uint&, const uint&, const uint&)’ was hidden [-Woverloaded-virtual=]
119 | AddStructure(
| ^~~~~~~~~~~~
../src/simulator/mainsim.h:86:9: note: by ‘void MainSim::AddStructure(uint, uint, uint, uint, Simulator::OPENCITY_SIMULATOR)’
86 | AddStructure(
| ^~~~~~~~~~~~
city.cpp: In member function ‘void City::Display()’:
city.cpp:325:21: warning: variable ‘boolKeyDown’ set but not used [-Wunused-but-set-variable]
325 | static bool boolKeyDown;
| ^~~~~~~~~~~
graphicmanager.cpp: In member function ‘void GraphicManager::DisplayTerrain(const uint&, const uint&) const’:
graphicmanager.cpp:141:24: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable]
141 | static GLfloat ax, ay, az;
| ^~
graphicmanager.cpp:141:32: warning: variable ‘az’ set but not used [-Wunused-but-set-variable]
141 | static GLfloat ax, ay, az;
| ^~
graphicmanager.cpp:142:24: warning: variable ‘bx’ set but not used [-Wunused-but-set-variable]
142 | static GLfloat bx, by, bz;
| ^~
graphicmanager.cpp:142:32: warning: variable ‘bz’ set but not used [-Wunused-but-set-variable]
142 | static GLfloat bx, by, bz;
| ^~
graphicmanager.cpp: In member function ‘void GraphicManager::DisplayStructure(const Structure*, const uint&, const uint&) const’:
graphicmanager.cpp:195:24: warning: variable ‘delta’ set but not used [-Wunused-but-set-variable]
195 | static GLfloat delta;
| ^~~~~
In file included from framework/System/CString.h:24,
from main.cpp:80:
framework/System/CObject.h:66:30: warning: ‘virtual bool System::Object::operator==(const System::Object&) const’ was hidden [-Woverloaded-virtual=]
66 | virtual bool operator==(const Object& obj) const;
| ^~~~~~~~
framework/System/CString.h:72:22: note: by ‘bool System::String::operator==(const char*) const’
72 | bool operator==(const char* const value) const;
| ^~~~~~~~
framework/System/CObject.h:65:33: warning: ‘virtual System::Object& System::Object::operator=(const System::NullValue&)’ was hidden [-Woverloaded-virtual=]
65 | virtual Object& operator=(const NullValue& null);
| ^~~~~~~~
In file included from main.cpp:81:
framework/System/Information/Software/CSdl.h:36:7: note: by ‘System::Information::Software::Sdl& System::Information::Software::Sdl::operator=(const System::Information::Software::Sdl&)’
36 | class Sdl : public Object
| ^~~
renderer.cpp: In member function ‘void Renderer::_DisplayTerrain() const’:
renderer.cpp:1175:24: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable]
1175 | static GLfloat ax, ay, az;
| ^~
renderer.cpp:1175:32: warning: variable ‘az’ set but not used [-Wunused-but-set-variable]
1175 | static GLfloat ax, ay, az;
| ^~
renderer.cpp:1176:24: warning: variable ‘bx’ set but not used [-Wunused-but-set-variable]
1176 | static GLfloat bx, by, bz;
| ^~
renderer.cpp:1176:32: warning: variable ‘bz’ set but not used [-Wunused-but-set-variable]
1176 | static GLfloat bx, by, bz;
| ^~