Doxygen-1.2.17-20020804 does not compile

There is an easy-to-fix problem in Doxygen-1.2.17-20020804:
g++ -c -pipe -Wall -W -fno-exceptions -O2 -I../qtools -I../libpng -o ../objects/docparser.o docparser.cpp docparser.cpp: In function `void handlePendingStyleCommands(DocNode*, QList<DocNode>&)': docparser.cpp:188: warning: `const char*cmd' might be used uninitialized in this function docparser.cpp: In function `bool defaultHandleToken(DocNode*, int, QList<DocNode>&, bool)': docparser.cpp:221: default argument given for parameter 4 of `bool defaultHandleToken(DocNode*, int, QList<DocNode>&, bool = TRUE)' docparser.cpp:117: after previous specification in `bool defaultHandleToken(DocNode*, int, QList<DocNode>&, bool = TRUE)'
The compiler (g++ 3.1.1) is right: according to the standard [8.3.6.4], "A default argument shall not be redefined by a later declaration (not even to the same value)." I hope it helps. All the best
Roberto
participants (1)
-
Roberto Bagnara