Spurious links generated for C++ keywords and template parameters #10797
Labels
bug
C/C++
fixed but not released
Bug is fixed in github, but still needs to make its way to an official release
Under conditions that I don't fully understand, things that shouldn't be links (such as the C++ keywords
auto
,void
,template
, and template parameter names) become links to some (seemingly randomly chosen, but reproducible) documentation page. The spurious links occur in both brief and detailed function and typedef docs, among other places. Minimal repro below.Screenshot
In this example (the reproduction attached below), the
void
keyword on member functiona()
is a link to the page fornamespace myproject
. Thisvoid
keyword is also contained in aref
element in the XML output.In other cases, the link target was sometimes a topic page or a particular function. It looked like all of the spurious links in the project went to the same page or anchor, but the target did change several times as I was minimizing the example.
To Reproduce
Run
doxygen
in the directory extracted from repro.tgz.I minimized this from a medium-sized project in which all sorts of items turn into links to a particular page.
Expected behavior
These keywords and template parameters should not be links at all.
Version
All of the following reproduced the bug:
master
(eb11063), self-built, macOS arm64.1.10.0, from Homebrew, macOS arm64.
1.9.8 (c2fe5c3), macOS arm64, from the GitHub Releases .dmg (using the embedded
doxygen
from the command line).The text was updated successfully, but these errors were encountered: