When compiling with make I'm getting an error as below. I have also copied and pasted the makefile below the error generated. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
g++ -c -LANG:std -O3 NumericalWeather.cpp -I /home3/vym/Langs/Cpp/Classes/include -I /home3/vym/Langs/Cpp/Applications/NumericalWeather/Varsha++Modules/include -I /home3/vym/Langs/Cpp/Applications/Calendar -I /home3/vym/Langs/Cpp/Classes/Utils
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/backward/strstream:51, from positionMarker.h:33, from NumericalWeather.cpp:36: /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/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 <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h
>. To disable this warning use -Wno-deprecated. g++ -c -LANG:std -O3 nwAGCM.cpp -I /home3/vym/Langs/Cpp/Classes/include -I /home3/vym/Langs/Cpp/Applications/NumericalWeather/Varsha++Modules/include -I /home3/vym/Langs/Cpp/Applications/Calendar -I /home3/vym/Langs/Cpp/Classes/Utils
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/backward/strstream:51, from positionMarker.h:33, from nwAGCM.cpp:29: /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/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 <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h
>. To disable this warning use -Wno-deprecated. nwtArrayNode.h: In member function 'nwtArrayNode<tType>& nwtArrayNode<tType>::operator=(const nwtArrayNode<tType>&)': nwtArrayNode.h:131: error: expected `;' before 'e'
nwtArrayNode.h:133: error: 'e' was not declared in this scope nwtpArrayD1.h: In member function 'void nwtpArrayD1<tType>::CheckBounds(const int&) const': nwtpArrayD1.h:419: error: expected `;' before 'e'
nwtpArrayD1.h:420: error: 'e' was not declared in this scope nwtpArrayD1.h: In member function 'void nwtpArrayD1<tType>::CheckSliceRangeLength(const nwRange&) const': nwtpArrayD1.h:438: error: expected `;' before 'e'
nwtpArrayD1.h:440: error: 'e' was not declared in this scope nwtpArrayD1.h: In member function 'void nwtpArrayD1<tType>::CheckSubRange(const nwRange&) const': nwtpArrayD1.h:462: error: expected `;' before 'e'
nwtpArrayD1.h:463: error: 'e' was not declared in this scope nwtpArrayD1.h: In member function 'void nwtpArrayD1<tType>::Read(std::istream&, bool)': nwtpArrayD1.h:509: error: expected `;' before 'e'
nwtpArrayD1.h:510: error: 'e' was not declared in this scope nwtpArrayD2.h: In member function 'void nwtpArrayD2<tType>::CheckBounds(const int&, const int&) const': nwtpArrayD2.h:514: error: expected `;' before 'e'
nwtpArrayD2.h:515: error: 'e' was not declared in this scope nwtpArrayD2.h: In member function 'void nwtpArrayD2<tType>::CheckSliceRangeLength(const nwRange&, const nwRange&) const': nwtpArrayD2.h:541: error: expected `;' before 'e'
nwtpArrayD2.h:542: error: 'e' was not declared in this scope nwtpArrayD2.h: In member function 'void nwtpArrayD2<tType>::CheckSubRange(const nwRange&, const nwRange&) const': nwtpArrayD2.h:570: error: expected `;' before 'e'
nwtpArrayD2.h:571: error: 'e' was not declared in this scope nwtpArrayD2.h: In member function 'nwtpArrayD2<tType> nwtpArrayD2<tType>::operator*(const nwtpArrayD2<tType>&)': nwtpArrayD2.h:672: error: expected `;' before 'e'
nwtpArrayD2.h:673: error: 'e' was not declared in this scope nwtpArrayD3.h: In member function 'void nwtpArrayD3<tType>::CheckBounds(const int&, const int&, const int&) const': nwtpArrayD3.h:563: error: expected `;' before 'e'
nwtpArrayD3.h:564: error: 'e' was not declared in this scope nwtpArrayD3.h: In member function 'void nwtpArrayD3<tType>::CheckSliceRangeLength(const nwRange&, const nwRange&, const nwRange&) const':
nwtpArrayD3.h:593: error: expected `;' before 'e' nwtpArrayD3.h:594: error: 'e' was not declared in this scope nwtpArrayD3.h: In member function 'void nwtpArrayD3<tType>::CheckSubRange(const nwRange&, const nwRange&, const nwRange&) const':
nwtpArrayD3.h:626: error: expected `;' before 'e' nwtpArrayD3.h:627: error: 'e' was not declared in this scope nwAGCM.cpp: In static member function 'static void nwAGCM::Run()': nwAGCM.cpp:318: warning: converting to 'int' from 'double'
nwAGCM.cpp:319: warning: converting to 'int' from 'double' nwAGCM.cpp:320: warning: converting to 'int' from 'double' nwAGCM.cpp:321: warning: converting to 'int' from 'double' nwAGCM.cpp:479: warning: converting to 'int' from 'aReal'
nwAGCM.cpp:530: warning: converting to 'int' from 'float' nwAGCM.cpp:637: warning: converting to 'int' from 'float' nwAGCM.cpp: In static member function 'static void nwAGCM::Step1B()': nwAGCM.cpp:1515: warning: converting to 'int' from 'float'
nwAGCM.cpp:1535: warning: converting to 'int' from 'float' nwtpArrayD1.h: In member function 'void nwtpArrayD1<tType>::CheckBounds(const int&) const [with tType = float]': nwtpArrayD1.h:315: instantiated from 'int nwtpArrayD1<tType>::Location(int) const [with tType = float]'
nwtpArrayD1.h:340: instantiated from 'tType& nwtpArrayD1<tType>::operator()(int) [with tType = float]' nwAGCM.cpp:346: instantiated from here nwtpArrayD1.h:419: error: dependent-name 'nwtpArrayD1<tType>::exception' is parsed as a non-type, but instantiation yields a type
nwtpArrayD1.h:419: note: say 'typename nwtpArrayD1<tType>::exception' if a type is meant nwtpArrayD2.h: In member function 'void nwtpArrayD2<tType>::CheckBounds(const int&, const int&) const [with tType = float]':
nwtpArrayD2.h:355: instantiated from 'int nwtpArrayD2<tType>::Location(int, int) const [with tType = float]' nwtpArrayD2.h:384: instantiated from 'tType& nwtpArrayD2<tType>::operator()(int, int) [with tType = float]'
nwAGCM.cpp:353: instantiated from here nwtpArrayD2.h:514: error: dependent-name 'nwtpArrayD2<tType>::exception' is parsed as a non-type, but instantiation yields a type nwtpArrayD2.h:514: note: say 'typename nwtpArrayD2<tType>::exception' if a type is meant
nwtpArrayD1.h: In member function 'void nwtpArrayD1<tType>::CheckBounds(const int&) const [with tType = int]': nwtpArrayD1.h:315: instantiated from 'int nwtpArrayD1<tType>::Location(int) const [with tType = int]'
nwtpArrayD1.h:340: instantiated from 'tType& nwtpArrayD1<tType>::operator()(int) [with tType = int]' nwAGCM.cpp:615: instantiated from here nwtpArrayD1.h:419: error: dependent-name 'nwtpArrayD1<tType>::exception' is parsed as a non-type, but instantiation yields a type
nwtpArrayD1.h:419: note: say 'typename nwtpArrayD1<tType>::exception' if a type is meant make: *** [nwAGCM.o] Error 1