﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2445	Doxygen-1.4.6	bankey	blfs-book@…	"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(); }
"	defect	closed	normal	6.3	BOOK	6.2.0	medium	invalid	doxygen qvaluestack qvaluestack.h:57	
