New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing 'Referenced by' links for macros (C/C++) #10343
Comments
HelloWorldExampleWithMacro.zip Here is a simple example explaining the issue (including C code, Doxyfile and HTML output of Doxygen 1.6.2 and 1.8.9). For the HELLO_TEXT macro therein the old Doxygen 1.6.2 generates a "Referenced by ..." link. This link however is missing in the HTML output generated by Doxygen 1.9.8. |
Looks like that the information vanished between 1.8.14 and 1.8.15, have to do some bisecting... |
Did the bisecting and the result is:
Probably an extra call to a setting routine for macros is necessary, implementation was done analogous to call / caller graphs but macros are never shown here (and consequently probably the related call to referenced by relation is missing). |
Adding the settings for Referenced by relation and References relation.
I've just pushed a proposed patch, pull request #10346 |
issue #10343 Missing 'Referenced by' links for macros (C/C++)
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
Describe the bug
In the HTML documentation generated by Doxygen 1.9.8 from C/C++ source code the 'Referenced by' links for macros (#define ...) are missing if REFERENCED_BY_RELATION = YES is set in the configuration. These links have been there in the documentation generated by older Doxygen versions (e.g. Doxygen 1.6.2).
Expected behavior
If REFERENCED_BY_RELATION = YES is set in the Doxygen configuration (Doxyfile) then 'Referenced by' links should be generated also for C/C++ macros (#define ...) in the HTML output.
Screenshots
Doxygen 1.9.8: Macro documentation without referenced-by links
Doxygen 1.6.2: Macro documentation with referenced-by links
Version
Doxygen version 1.9.8 on Windows 10, 64 bit.
The text was updated successfully, but these errors were encountered: