Programs fail to compile. When I switch to the GCC 3.3.3 compiler they compile just fine. Output from libmath++ compile: checking for cstring... yes configure: creating ./config.status config.status: creating Makefile config.status: creating math++/Makefile config.status: creating examples/Makefile config.status: creating doc/Makefile config.status: creating doc/doxygen.conf config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/libmath++-0.0.3/work/libmath++-0.0.3' Making all in math++ make[2]: Entering directory `/var/tmp/portage/libmath++-0.0.3/work/libmath++-0.0.3/math++' source='utils.cpp' object='utils.lo' libtool=yes \ depfile='.deps/utils.Plo' tmpdepfile='.deps/utils.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pedantic -ansi -Wall -Wno-long-long -c -o utils.lo `test -f 'utils.cpp' || echo './'`utils.cpp source='t1.cpp' object='t1.o' libtool=no \ depfile='.deps/t1.Po' tmpdepfile='.deps/t1.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pedantic -ansi -Wall -Wno-long-long -c -o t1.o `test -f 't1.cpp' || echo './'`t1.cpp mkdir .libs i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pedantic -ansi -Wall -Wno-long-long -c utils.cpp -MT utils.lo -MD -MP -MF .deps/utils.TPlo -fPIC -DPIC In file included from t1.cpp:2: ../math++/nodes.h: In member function `math::TNodeIterator<T>& math::TNodeIterator<T>::operator--()': ../math++/nodes.h:133: error: there are no arguments to `declrement' that depend on a template parameter, so a declaration of `declrement' must be available ../math++/nodes.h:133: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from ../math++/nodes.h:662, from t1.cpp:2: ../math++/nodes.tcc: In constructor `math::TNumberNode<T>::TNumberNode(const T&)': ../math++/nodes.tcc:95: error: `NUMBER_NODE' undeclared (first use this function) ../math++/nodes.tcc:95: error: (Each undeclared identifier is reported only once for each function it appears in.) ../math++/nodes.tcc: In member function `virtual bool math::TNumberNode<T>::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:116: error: `NUMBER_NODE' undeclared (first use this function) ../math++/nodes.tcc: In constructor `math::TSymbolNode<T>::TSymbolNode(const std::string&)': ../math++/nodes.tcc:122: error: `SYMBOL_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual bool math::TSymbolNode<T>::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:143: error: `SYMBOL_NODE' undeclared (first use this function) ../math++/nodes.tcc: In constructor `math::TParamNode<T>::TParamNode()': ../math++/nodes.tcc:149: error: `PARAM_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual bool math::TParamNode<T>::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:164: error: `PARAM_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual bool math::TUnaryNodeOp< <template-parameter-1-1> >::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:189: error: there are no arguments to `nodeType' that depend on a template parameter, so a declaration of `nodeType' must be available ../math++/nodes.tcc: In member function `virtual bool math::TBinaryNodeOp< <template-parameter-1-1> >::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:218: error: there are no arguments to `nodeType' that depend on a template parameter, so a declaration of `nodeType' must be available ../math++/nodes.tcc: In constructor `math::TPlusNode<T>::TPlusNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:226: error: `PLUS_NODE' undeclared (first use this function)../math++/nodes.tcc: In member function `virtual math::TPlusNode<T>* math::TPlusNode<T>::clone() const': ../math++/nodes.tcc:236: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:236: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TNegNode<T>::TNegNode(math::TNode<T>*)': ../math++/nodes.tcc:242: error: `NEG_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TNegNode<T>* math::TNegNode<T>::clone() const': ../math++/nodes.tcc:252: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TMulNode<T>::TMulNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:258: error: `MUL_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TMulNode<T>* math::TMulNode<T>::clone() const': ../math++/nodes.tcc:268: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:268: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TDivNode<T>::TDivNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:274: error: `DIV_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TDivNode<T>* math::TDivNode<T>::clone() const': ../math++/nodes.tcc:284: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:284: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TPowNode<T>::TPowNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:290: error: `POW_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TPowNode<T>* math::TPowNode<T>::clone() const': ../math++/nodes.tcc:300: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:300: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TSqrtNode<T>::TSqrtNode(math::TNode<T>*)': ../math++/nodes.tcc:306: error: `SQRT_NODE' undeclared (first use this function)../math++/nodes.tcc: In member function `virtual math::TSqrtNode<T>* math::TSqrtNode<T>::clone() const': ../math++/nodes.tcc:316: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TSinNode<T>::TSinNode(math::TNode<T>*)': ../math++/nodes.tcc:322: error: `SIN_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TSinNode<T>* math::TSinNode<T>::clone() const': ../math++/nodes.tcc:332: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TCosNode<T>::TCosNode(math::TNode<T>*)': ../math++/nodes.tcc:338: error: `COS_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TCosNode<T>* math::TCosNode<T>::clone() const': ../math++/nodes.tcc:348: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TTanNode<T>::TTanNode(math::TNode<T>*)': ../math++/nodes.tcc:354: error: `TAN_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TTanNode<T>* math::TTanNode<T>::clone() const': ../math++/nodes.tcc:364: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TLnNode<T>::TLnNode(math::TNode<T>*)': ../math++/nodes.tcc:376: error: `LN_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TLnNode<T>* math::TLnNode<T>::clone() const': ../math++/nodes.tcc:386: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TFuncNode<T>::TFuncNode(const std::string&, math::TNode<T>*)': ../math++/nodes.tcc:392: error: `FUNC_NODE' undeclared (first use this function)../math++/nodes.tcc: In member function `virtual math::TFuncNode<T>* math::TFuncNode<T>::clone() const': ../math++/nodes.tcc:407: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TIfNode<T>::TIfNode(math::TNode<T>*, math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:413: error: `IF_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `math::TNode<T>* math::TIfNode<T>::trueExpr() const': ../math++/nodes.tcc:424: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc: In member function `math::TNode<T>* math::TIfNode<T>::falseExpr() const': ../math++/nodes.tcc:429: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In member function `virtual math::TIfNode<T>* math::TIfNode<T>::clone() const': ../math++/nodes.tcc:439: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:439: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TEquNode<T>::TEquNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:445: error: `EQU_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TEquNode<T>* math::TEquNode<T>::clone() const': ../math++/nodes.tcc:455: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:455: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TUnEquNode<T>::TUnEquNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:461: error: `UNEQU_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TUnEquNode<T>* math::TUnEquNode<T>::clone() const': ../math++/nodes.tcc:471: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:471: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TGreaterNode<T>::TGreaterNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:477: error: `GREATER_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TGreaterNode<T>* math::TGreaterNode<T>::clone() const': ../math++/nodes.tcc:487: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:487: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TLessNode<T>::TLessNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:493: error: `LESS_NODE' undeclared (first use this function)../math++/nodes.tcc: In member function `virtual math::TLessNode<T>* math::TLessNode<T>::clone() const': ../math++/nodes.tcc:503: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:503: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TGreaterEquNode<T>::TGreaterEquNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:509: error: `GREATER_EQU_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TGreaterEquNode<T>* math::TGreaterEquNode<T>::clone() const': ../math++/nodes.tcc:519: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:519: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TLessEquNode<T>::TLessEquNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:525: error: `LESS_EQU_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TLessEquNode<T>* math::TLessEquNode<T>::clone() const': ../math++/nodes.tcc:535: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:535: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available In file included from ../math++/matcher.h:239, from t1.cpp:9: ../math++/matcher.tcc: At global scope: ../math++/matcher.tcc:38: error: extra `;' ../math++/matcher.tcc:43: error: extra `;' ../math++/matcher.tcc: In constructor `math::TPlusMatch<T>::TPlusMatch(math::TMatch<T>*, math::TMatch<T>*, ...)': ../math++/matcher.tcc:161: error: `FPatterns' undeclared (first use this function) ../math++/matcher.tcc: In member function `virtual bool math::TPlusMatch<T>::match(const math::TNode<T>*, math::TMatchRegistry<T>*) const': ../math++/matcher.tcc:169: error: `FPatterns' undeclared (first use this function) ../math++/matcher.tcc: In constructor `math::TMulMatch<T>::TMulMatch(math::TMatch<T>*, math::TMatch<T>*, ...)': ../math++/matcher.tcc:185: error: `FPatterns' undeclared (first use this function) ../math++/matcher.tcc: In constructor `math::TMulMatch<T>::TMulMatch(math::TMatch<T>*, math::TMatch<T>*, ...) [with T = double]': t1.cpp:70: instantiated from here ../math++/matcher.tcc:184: warning: unused variable 'p' ../math++/matcher.tcc: In constructor `math::TPlusMatch<T>::TPlusMatch(math::TMatch<T>*, math::TMatch<T>*, ...) [with T = double]': t1.cpp:75: instantiated from here ../math++/matcher.tcc:160: warning: unused variable 'p' make[2]: *** [t1.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from ../math++/library.tcc:23, from ../math++/library.h:149, from ../math++/simplifier.tcc:27, from ../math++/simplifier.h:79, from ../math++/utils.tcc:29, from ../math++/utils.h:125, from utils.cpp:23: ../math++/nodes.h: In member function `math::TNodeIterator<T>& math::TNodeIterator<T>::operator--()': ../math++/nodes.h:133: error: there are no arguments to `declrement' that depend on a template parameter, so a declaration of `declrement' must be available ../math++/nodes.h:133: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from ../math++/nodes.h:662, from ../math++/library.tcc:23, from ../math++/library.h:149, from ../math++/simplifier.tcc:27, from ../math++/simplifier.h:79, from ../math++/utils.tcc:29, from ../math++/utils.h:125, from utils.cpp:23: ../math++/nodes.tcc: In constructor `math::TNumberNode< <template-parameter-1-1> >::TNumberNode(const T&)': ../math++/nodes.tcc:95: error: `NUMBER_NODE' undeclared (first use this function) ../math++/nodes.tcc:95: error: (Each undeclared identifier is reported only once for each function it appears in.) ../math++/nodes.tcc: In member function `virtual bool math::TNumberNode< <template-parameter-1-1> >::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:116: error: `NUMBER_NODE' undeclared (first use this function) ../math++/nodes.tcc: In constructor `math::TSymbolNode< <template-parameter-1-1> >::TSymbolNode(const std::string&)': ../math++/nodes.tcc:122: error: `SYMBOL_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual bool math::TSymbolNode< <template-parameter-1-1> >::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:143: error: `SYMBOL_NODE' undeclared (first use this function) ../math++/nodes.tcc: In constructor `math::TParamNode< <template-parameter-1-1> >::TParamNode()': ../math++/nodes.tcc:149: error: `PARAM_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual bool math::TParamNode< <template-parameter-1-1> >::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:164: error: `PARAM_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual bool math::TUnaryNodeOp< <template-parameter-1-1> >::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:189: error: there are no arguments to `nodeType' that depend on a template parameter, so a declaration of `nodeType' must be available ../math++/nodes.tcc: In member function `virtual bool math::TBinaryNodeOp< <template-parameter-1-1> >::equals(const math::TNode<T>*) const': ../math++/nodes.tcc:218: error: there are no arguments to `nodeType' that depend on a template parameter, so a declaration of `nodeType' must be available ../math++/nodes.tcc: In constructor `math::TPlusNode< <template-parameter-1-1> >::TPlusNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:226: error: `PLUS_NODE' undeclared (first use this function)../math++/nodes.tcc: In member function `virtual math::TPlusNode<T>* math::TPlusNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:236: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:236: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TNegNode< <template-parameter-1-1> >::TNegNode(math::TNode<T>*)': ../math++/nodes.tcc:242: error: `NEG_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TNegNode<T>* math::TNegNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:252: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TMulNode< <template-parameter-1-1> >::TMulNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:258: error: `MUL_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TMulNode<T>* math::TMulNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:268: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:268: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TDivNode< <template-parameter-1-1> >::TDivNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:274: error: `DIV_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TDivNode<T>* math::TDivNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:284: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:284: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TPowNode< <template-parameter-1-1> >::TPowNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:290: error: `POW_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TPowNode<T>* math::TPowNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:300: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:300: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TSqrtNode< <template-parameter-1-1> >::TSqrtNode(math::TNode<T>*)': ../math++/nodes.tcc:306: error: `SQRT_NODE' undeclared (first use this function)../math++/nodes.tcc: In member function `virtual math::TSqrtNode<T>* math::TSqrtNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:316: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TSinNode< <template-parameter-1-1> >::TSinNode(math::TNode<T>*)': ../math++/nodes.tcc:322: error: `SIN_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TSinNode<T>* math::TSinNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:332: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TCosNode< <template-parameter-1-1> >::TCosNode(math::TNode<T>*)': ../math++/nodes.tcc:338: error: `COS_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TCosNode<T>* math::TCosNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:348: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TTanNode< <template-parameter-1-1> >::TTanNode(math::TNode<T>*)': ../math++/nodes.tcc:354: error: `TAN_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TTanNode<T>* math::TTanNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:364: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TLnNode< <template-parameter-1-1> >::TLnNode(math::TNode<T>*)': ../math++/nodes.tcc:376: error: `LN_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TLnNode<T>* math::TLnNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:386: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TFuncNode< <template-parameter-1-1> >::TFuncNode(const std::string&, math::TNode<T>*)': ../math++/nodes.tcc:392: error: `FUNC_NODE' undeclared (first use this function)../math++/nodes.tcc: In member function `virtual math::TFuncNode<T>* math::TFuncNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:407: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available ../math++/nodes.tcc: In constructor `math::TIfNode< <template-parameter-1-1> >::TIfNode(math::TNode<T>*, math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:413: error: `IF_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `math::TNode<T>* math::TIfNode< <template-parameter-1-1> >::trueExpr() const': ../math++/nodes.tcc:424: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc: In member function `math::TNode<T>* math::TIfNode< <template-parameter-1-1> >::falseExpr() const': ../math++/nodes.tcc:429: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In member function `virtual math::TIfNode<T>* math::TIfNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:439: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:439: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TEquNode< <template-parameter-1-1> >::TEquNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:445: error: `EQU_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TEquNode<T>* math::TEquNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:455: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:455: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TUnEquNode< <template-parameter-1-1> >::TUnEquNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:461: error: `UNEQU_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TUnEquNode<T>* math::TUnEquNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:471: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:471: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TGreaterNode< <template-parameter-1-1> >::TGreaterNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:477: error: `GREATER_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TGreaterNode<T>* math::TGreaterNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:487: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:487: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TLessNode< <template-parameter-1-1> >::TLessNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:493: error: `LESS_NODE' undeclared (first use this function)../math++/nodes.tcc: In member function `virtual math::TLessNode<T>* math::TLessNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:503: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:503: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TGreaterEquNode< <template-parameter-1-1> >::TGreaterEquNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:509: error: `GREATER_EQU_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TGreaterEquNode<T>* math::TGreaterEquNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:519: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:519: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available ../math++/nodes.tcc: In constructor `math::TLessEquNode< <template-parameter-1-1> >::TLessEquNode(math::TNode<T>*, math::TNode<T>*)': ../math++/nodes.tcc:525: error: `LESS_EQU_NODE' undeclared (first use this function) ../math++/nodes.tcc: In member function `virtual math::TLessEquNode<T>* math::TLessEquNode< <template-parameter-1-1> >::clone() const': ../math++/nodes.tcc:535: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available ../math++/nodes.tcc:535: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available make[2]: *** [utils.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/libmath++-0.0.3/work/libmath++-0.0.3/math++' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libmath++-0.0.3/work/libmath++-0.0.3' make: *** [all] Error 2 !!! ERROR: sys-libs/libmath++-0.0.3 failed. !!! Function src_compile, Line 510, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Output from monopd compile: config.status: creating Makefile config.status: creating conf/Makefile config.status: creating doc/Makefile config.status: creating doc/api/Makefile config.status: creating games/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing default-1 commands cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/var/tmp/portage/monopd-0.9.3/work/monopd-0.9.3' Making all in src make[2]: Entering directory `/var/tmp/portage/monopd-0.9.3/work/monopd-0.9.3/src' source='auction.cpp' object='auction.o' libtool=no \ depfile='.deps/auction.Po' tmpdepfile='.deps/auction.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o auction.o `test -f auction.cpp || echo './'`auction.cpp source='card.cpp' object='card.o' libtool=no \ depfile='.deps/card.Po' tmpdepfile='.deps/card.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o card.o `test -f card.cpp || echo './'`card.cpp source='cardgroup.cpp' object='cardgroup.o' libtool=no \ depfile='.deps/cardgroup.Po' tmpdepfile='.deps/cardgroup.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o cardgroup.o `test -f cardgroup.cpp || echo './'`cardgroup.cpp source='debt.cpp' object='debt.o' libtool=no \ depfile='.deps/debt.Po' tmpdepfile='.deps/debt.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o debt.o `test -f debt.cpp || echo './'`debt.cpp source='display.cpp' object='display.o' libtool=no \ depfile='.deps/display.Po' tmpdepfile='.deps/display.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o display.o `test -f display.cpp || echo './'`display.cpp source='estate.cpp' object='estate.o' libtool=no \ depfile='.deps/estate.Po' tmpdepfile='.deps/estate.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o estate.o `test -f estate.cpp || echo './'`estate.cpp source='estategroup.cpp' object='estategroup.o' libtool=no \ depfile='.deps/estategroup.Po' tmpdepfile='.deps/estategroup.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o estategroup.o `test -f estategroup.cpp || echo './'`estategroup.cpp source='event.cpp' object='event.o' libtool=no \ depfile='.deps/event.Po' tmpdepfile='.deps/event.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o event.o `test -f event.cpp || echo './'`event.cpp source='game.cpp' object='game.o' libtool=no \ depfile='.deps/game.Po' tmpdepfile='.deps/game.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o game.o `test -f game.cpp || echo './'`game.cpp In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/backward/algo.h:59, from cardgroup.cpp:17: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/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. source='gameconfig.cpp' object='gameconfig.o' libtool=no \ depfile='.deps/gameconfig.Po' tmpdepfile='.deps/gameconfig.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o gameconfig.o `test -f gameconfig.cpp || echo './'`gameconfig.cpp source='gameobject.cpp' object='gameobject.o' libtool=no \ depfile='.deps/gameobject.Po' tmpdepfile='.deps/gameobject.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o gameobject.o `test -f gameobject.cpp || echo './'`gameobject.cpp source='gameproperty.cpp' object='gameproperty.o' libtool=no \ depfile='.deps/gameproperty.Po' tmpdepfile='.deps/gameproperty.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" -O3 -march=athlon-xp -pipe -c -o gameproperty.o `test -f gameproperty.cpp || echo './'`gameproperty.cpp In file included from estategroup.cpp:19: /usr/include/math++/nodes.h: In member function `math::TNodeIterator<T>& math::TNodeIterator<T>::operator--()': /usr/include/math++/nodes.h:133: error: there are no arguments to `declrement' that depend on a template parameter, so a declaration of `declrement' must be available /usr/include/math++/nodes.h:133: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /usr/include/math++/nodes.h:662, from estategroup.cpp:19: /usr/include/math++/nodes.tcc: In constructor `math::TNumberNode<T>::TNumberNode(const T&)': /usr/include/math++/nodes.tcc:95: error: `NUMBER_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc:95: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/math++/nodes.tcc: In member function `virtual bool math::TNumberNode<T>::equals(const math::TNode<T>*) const': /usr/include/math++/nodes.tcc:116: error: `NUMBER_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In constructor `math::TSymbolNode<T>::TSymbolNode(const std::string&)': /usr/include/math++/nodes.tcc:122: error: `SYMBOL_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual bool math::TSymbolNode<T>::equals(const math::TNode<T>*) const': /usr/include/math++/nodes.tcc:143: error: `SYMBOL_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In constructor `math::TParamNode<T>::TParamNode()': /usr/include/math++/nodes.tcc:149: error: `PARAM_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual bool math::TParamNode<T>::equals(const math::TNode<T>*) const': /usr/include/math++/nodes.tcc:164: error: `PARAM_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual bool math::TUnaryNodeOp< <template-parameter-1-1> >::equals(const math::TNode<T>*) const': /usr/include/math++/nodes.tcc:189: error: there are no arguments to `nodeType' that depend on a template parameter, so a declaration of `nodeType' must be available /usr/include/math++/nodes.tcc: In member function `virtual bool math::TBinaryNodeOp< <template-parameter-1-1> >::equals(const math::TNode<T>*) const': /usr/include/math++/nodes.tcc:218: error: there are no arguments to `nodeType' that depend on a template parameter, so a declaration of `nodeType' must be available /usr/include/math++/nodes.tcc: In constructor `math::TPlusNode<T>::TPlusNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:226: error: `PLUS_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TPlusNode<T>* math::TPlusNode<T>::clone() const': /usr/include/math++/nodes.tcc:236: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:236: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TNegNode<T>::TNegNode(math::TNode<T>*)': /usr/include/math++/nodes.tcc:242: error: `NEG_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TNegNode<T>* math::TNegNode<T>::clone() const': /usr/include/math++/nodes.tcc:252: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available /usr/include/math++/nodes.tcc: In constructor `math::TMulNode<T>::TMulNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:258: error: `MUL_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TMulNode<T>* math::TMulNode<T>::clone() const': /usr/include/math++/nodes.tcc:268: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:268: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TDivNode<T>::TDivNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:274: error: `DIV_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TDivNode<T>* math::TDivNode<T>::clone() const': /usr/include/math++/nodes.tcc:284: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:284: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TPowNode<T>::TPowNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:290: error: `POW_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TPowNode<T>* math::TPowNode<T>::clone() const': /usr/include/math++/nodes.tcc:300: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:300: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TSqrtNode<T>::TSqrtNode(math::TNode<T>*)': /usr/include/math++/nodes.tcc:306: error: `SQRT_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TSqrtNode<T>* math::TSqrtNode<T>::clone() const': /usr/include/math++/nodes.tcc:316: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available /usr/include/math++/nodes.tcc: In constructor `math::TSinNode<T>::TSinNode(math::TNode<T>*)': /usr/include/math++/nodes.tcc:322: error: `SIN_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TSinNode<T>* math::TSinNode<T>::clone() const': /usr/include/math++/nodes.tcc:332: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available /usr/include/math++/nodes.tcc: In constructor `math::TCosNode<T>::TCosNode(math::TNode<T>*)': /usr/include/math++/nodes.tcc:338: error: `COS_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TCosNode<T>* math::TCosNode<T>::clone() const': /usr/include/math++/nodes.tcc:348: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available /usr/include/math++/nodes.tcc: In constructor `math::TTanNode<T>::TTanNode(math::TNode<T>*)': /usr/include/math++/nodes.tcc:354: error: `TAN_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TTanNode<T>* math::TTanNode<T>::clone() const': /usr/include/math++/nodes.tcc:364: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available /usr/include/math++/nodes.tcc: In constructor `math::TLnNode<T>::TLnNode(math::TNode<T>*)': /usr/include/math++/nodes.tcc:376: error: `LN_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TLnNode<T>* math::TLnNode<T>::clone() const': /usr/include/math++/nodes.tcc:386: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available /usr/include/math++/nodes.tcc: In constructor `math::TFuncNode<T>::TFuncNode(const std::string&, math::TNode<T>*)': /usr/include/math++/nodes.tcc:392: error: `FUNC_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TFuncNode<T>* math::TFuncNode<T>::clone() const': /usr/include/math++/nodes.tcc:407: error: there are no arguments to `node' that depend on a template parameter, so a declaration of `node' must be available /usr/include/math++/nodes.tcc: In constructor `math::TIfNode<T>::TIfNode(math::TNode<T>*, math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:413: error: `IF_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `math::TNode<T>* math::TIfNode<T>::trueExpr() const': /usr/include/math++/nodes.tcc:424: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc: In member function `math::TNode<T>* math::TIfNode<T>::falseExpr() const': /usr/include/math++/nodes.tcc:429: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In member function `virtual math::TIfNode<T>* math::TIfNode<T>::clone() const': /usr/include/math++/nodes.tcc:439: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:439: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TEquNode<T>::TEquNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:445: error: `EQU_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TEquNode<T>* math::TEquNode<T>::clone() const': /usr/include/math++/nodes.tcc:455: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:455: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TUnEquNode<T>::TUnEquNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:461: error: `UNEQU_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TUnEquNode<T>* math::TUnEquNode<T>::clone() const': /usr/include/math++/nodes.tcc:471: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:471: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TGreaterNode<T>::TGreaterNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:477: error: `GREATER_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TGreaterNode<T>* math::TGreaterNode<T>::clone() const': /usr/include/math++/nodes.tcc:487: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:487: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TLessNode<T>::TLessNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:493: error: `LESS_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TLessNode<T>* math::TLessNode<T>::clone() const': /usr/include/math++/nodes.tcc:503: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:503: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TGreaterEquNode<T>::TGreaterEquNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:509: error: `GREATER_EQU_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TGreaterEquNode<T>* math::TGreaterEquNode<T>::clone() const': /usr/include/math++/nodes.tcc:519: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:519: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available /usr/include/math++/nodes.tcc: In constructor `math::TLessEquNode<T>::TLessEquNode(math::TNode<T>*, math::TNode<T>*)': /usr/include/math++/nodes.tcc:525: error: `LESS_EQU_NODE' undeclared (first use this function) /usr/include/math++/nodes.tcc: In member function `virtual math::TLessEquNode<T>* math::TLessEquNode<T>::clone() const': /usr/include/math++/nodes.tcc:535: error: there are no arguments to `left' that depend on a template parameter, so a declaration of `left' must be available /usr/include/math++/nodes.tcc:535: error: there are no arguments to `right' that depend on a template parameter, so a declaration of `right' must be available make[2]: *** [estategroup.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/backward/algo.h:59, from game.cpp:23: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/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. make[2]: Leaving directory `/var/tmp/portage/monopd-0.9.3/work/monopd-0.9.3/src'make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/monopd-0.9.3/work/monopd-0.9.3' make: *** [all] Error 2 !!! ERROR: games-server/monopd-0.9.3 failed. !!! Function games_src_compile, Line 143, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
same here libmath++-0.0.4 solves the Problem. I have made an ebuild based on the libmath++-0.0.3 ebuild. It could need some improvements, but basically it works...
Created attachment 43621 [details] new ebuild for libmath++ version 0.0.4 The ebuild
0.0.4 is in cvs