Package: doxygen
Version: 1.4.6-1
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
> Automatic build of doxygen_1.4.6-1 on bigsur by sbuild/mips 1.106
...
> 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(); }
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]