Opened 17 years ago
Closed 17 years ago
#2445 closed defect (invalid)
Doxygen-1.4.6
Reported by: | bankey | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.3 |
Component: | BOOK | Version: | 6.2.0 |
Severity: | normal | Keywords: | doxygen qvaluestack qvaluestack.h:57 |
Cc: |
Description ¶
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(); }
Change History (2)
comment:1 by , 17 years ago
Milestone: | 6.2.0 → 6.3 |
---|
comment:2 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
This bug is only valid if using GCC-4.1 or later. As stable BLFS uses GCC-4.0.3 it is not an issue. I've confirmed that 4.0.3 will build the Doxygen-1.4.6 package just fine.
Closing the ticket as invalid.