GNOME Bugzilla – Bug 722457
regression referencing namespaced type
Last modified: 2014-04-21 10:09:17 UTC
For the standard Doxyfile and the code: ----- namespace cainteoir { namespace rdf { struct uri {}; class literal { public: uri type; literal(); template<typename T> literal(const T &aValue); template<typename T> literal(const T &aValue, const std::string &aLanguage); template<typename T> literal(const T &aValue, const uri &aType); }; }} ----- given either: /** \fn cainteoir::rdf::literal::literal(const T &aValue, const cainteoir::rdf::uri &aType) \brief Create a datatype literal resource. */ or: /** \fn cainteoir::rdf::literal::literal(const T &aValue, const uri &aType) \brief Create a datatype literal resource. */ the following warning is generated: ----- warning: no matching class member found for cainteoir::rdf::literal::literal(const T &aValue, const cainteoir::rdf::uri &aType) Possible candidates: cainteoir::rdf::literal::literal() 'template < T > cainteoir::rdf::literal::literal(const T &aValue) 'template < T > cainteoir::rdf::literal::literal(const T &aValue, const std::string &aLanguage) 'template < T > cainteoir::rdf::literal::literal(const T &aValue, const uri &aType) ----- This warning is not present in 1.8.6. NOTE: Removing the line: uri type; makes the following documentation work: ----- /** \fn cainteoir::rdf::literal::literal(const T &aValue, const uri &aType) \brief Create a datatype literal resource. */ -----
I have run a bisect which points to: ----- 2c93aa6fb588279dbd903831acad949c71681ca6 is the first bad commit commit 2c93aa6fb588279dbd903831acad949c71681ca6 Author: Dimitri van Heesch <dimitri@stack.nl> Date: Sun Oct 13 13:23:29 2013 +0200 Bug 709052 - Templated and non-templated method mixup documentation -----
Confirmed. Should be fixed in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.7. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferrably in the form of a self-contained example).