GNOME Bugzilla – Bug 769552
doxygen warning parsing C++11 "using" declaration
Last modified: 2017-01-19 21:00:11 UTC
Created attachment 332798 [details] Example showing the warning The attached test case produces this warning: /home/user/TestCase/Source/private.hpp:3: warning: documented symbol `typedef a::std::map< int, std::list< int >> Y' was not declared or defined. The problem has its origin in a C++11 "using" declaration that appears twice (but identical) in the code. The warning occurs if the using declaration looks like this: using Y=std::map<int,std::list<int>>; It disappears if it is written like this (note "> >" instead of ">>"): using Y=std::map<int,std::list<int> >;
Aside from the warning the generated documentation is incorrect. ">>" case (incorrect): using a::Y = typedef std::map<int,std::list<int>> "> >" case (correct): typedef std::map< int, std::list< int > > a::Y
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.13. 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 (preferably in the form of a self-contained example).
Verified: The bug is fixed in Doxygen 1.8.13. The warning is no longer emitted.