GNOME Bugzilla – Bug 632879
Unresolved explicit link request warnings lost at 1.7.2
Last modified: 2011-01-03 19:01:27 UTC
If #include blah (or #if or any C-preprocessor command ) is parsed by doxygen not inside a \code ... \endcode than the # is interpreted as forcing an explicit link to include. In 1.6.3 this resulted in a 'Warning: explicit link request to 'include' could not be resolved' warning. In 1.7.2 there is no warning, and include with the # stripped is added to the output documentation. If warnings are used for quality-control, this absence is unacceptable. Workaround is to stay on 1.6.3
Confirmed. The fix is straightforward: --- ../../doxygen-svn/src/docparser.cpp 2010-10-08 21:51:57.000000000 +0200 +++ docparser.cpp 2010-10-23 15:59:41.000000000 +0200 @@ -1104,7 +1104,7 @@ } else // normal non-linkable word { - if (g_token->name.left(1)=='#' || g_token->name.left(2)=="::") + if (g_token->name.left(1)=="#" || g_token->name.left(2)=="::") { warn_doc_error(g_fileName,doctokenizerYYlineno,"warning: explicit link request to '%s' could not be resolved",qPrint(name)); }
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.3. 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.