g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT main.cxx In file included from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../../include/c++/3.4.3/backward/iostream.h:31, from AppTechFlammableBuilding.hxx:8, from AppTechObjectPool.hxx:11, from main.cxx:11: /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../../include/c++/3.4.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. main.cxx: In function `void extinguish(Rescue::S32&, Rescue::FireBrigade*, Rescue::Input&, Rescue::AppTechObjectPool&, Rescue::Config&)': main.cxx:258: warning: comparison between signed and unsigned integer expressions g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT Address.cxx g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT Config.cxx g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT Input.cxx g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT LongUDPSocket.cxx g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT ObjectPool.cxx g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT Output.cxx g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT SocketLibrary.cxx g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT UDPSocket.cxx g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT basic.cxx g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT AppTechObjectPool.cxx In file included from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../../include/c++/3.4.3/backward/iostream.h:31, from AppTechFlammableBuilding.hxx:8, from AppTechObjectPool.hxx:11, from AppTechObjectPool.cxx:7: /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../../include/c++/3.4.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT AppTechFlammableBuilding.cxx In file included from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../../include/c++/3.4.3/backward/iostream.h:31, from AppTechFlammableBuilding.hxx:8, from AppTechFlammableBuilding.cxx:7: /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../../include/c++/3.4.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. g++ -c -pipe -O3 -g -Wall -DAPPTECH -DTRAINNING -DMKDAT AppTechTrainning.cxx In file included from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../../include/c++/3.4.3/backward/iostream.h:31, from AppTechTrainning.cxx:5: /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/../../../../include/c++/3.4.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. xy.hxx: In member function `T Rescue::_XY::x() const [with T = double]': AppTechTrainning.cxx:373: instantiated from here xy.hxx:14: error: request for member `real' in `this', which is of non-class type `const Rescue::_XY* const' xy.hxx: In member function `T Rescue::_XY::y() const [with T = double]': AppTechTrainning.cxx:374: instantiated from here xy.hxx:15: error: request for member `imag' in `this', which is of non-class type `const Rescue::_XY* const' AppTechTrainning.cxx: At global scope: AppTechTrainning.cxx:75: warning: 'double Rescue::rad(int)' defined but not used make: *** [AppTechTrainning.o] Error 1