#2445: Doxygen-1.4.6 --------------------+------------------------------------------------------- Reporter: bankey | Owner: [email protected] Type: defect | Status: new Priority: normal | Milestone: 6.2.0 Component: BOOK | Version: 6.2.0 Severity: normal | Keywords: doxygen qvaluestack qvaluestack.h:57 --------------------+------------------------------------------------------- this problem I experienced during blfs build.. solution is included..
tnx to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358208 > g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 -I. -o ../objects/qxml.o qxml.cpp > ./qvaluestack.h: In member function 'T QValueStack<T>::pop() [with T = QMap<QString, QString>]': > qxml.cpp:513: instantiated from here > ./qvaluestack.h:57: error: cannot convert 'QValueListIterator<QMap<QString, QString> >' to 'const char*' for argument '1' to 'int remove(const char*)' > ./qvaluestack.h: In member function 'T QValueStack<T>::pop() [with T = QString]': > qxml.cpp:2499: instantiated from here > ./qvaluestack.h:57: error: cannot convert 'QValueListIterator<QString>' to 'const char*' for argument '1' to 'int remove(const char*)' > make[3]: *** [../objects/qxml.o] Error 1 > make[3]: Leaving directory `/build/tbm/doxygen-1.4.6/qtools' Ben Hutchings (WombleToo) says: 19:27 <WombleToo> probably needs to be this->remove instead of remove 19:28 <WombleToo> It's finding the global function for removing a file 19:28 <WombleToo> Check whether there's a remove member function in the template for the base class --- ./qtools/qvaluestack.h~ 2006-03-21 19:28:42.000000000 +0000 +++ ./qtools/qvaluestack.h 2006-03-21 19:28:50.000000000 +0000 @@ -54,7 +54,7 @@ { T elem( this->last() ); if ( !this->isEmpty() ) - remove( this->fromLast() ); + this->remove( this->fromLast() ); return elem; } T& top() { return this->last(); } -- Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2445> BLFS Trac <http://wiki.linuxfromscratch.org/blfs> Beyond Linux From Scratch -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
