-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
getDefs fails to resolve local function names if same global name exist. (Origin: bugzilla #656694) #4365
Comments
Any movement/updates on this? Still a problem for me right now. I'm running doxygen 1.8.16 Obviously the patch is going to be out of date, but I may be able to work on something like this if it's simply taking the attached patch and fixing it up to match the modern functionality. |
Fixing this would resolve #3676, #5448, #979, and #3676 (note this last one is already closed by user). Also, if this gets updated, probably good to update the related StackOverflow question as well. Also, if this should be moved to a separate issue, let me know. |
The same problem exist for C++ enums. If you have several of them with the same name, they get concatenated into a single one visible in the doc only in the first parsed file... |
A doc tool that blows up on duplicate entity names, rather than providing simple tools for users to help the doc generator to disambiguate, would not be a very practical tool for medium to large projects. |
I'm hitting the same/similar problem for C typedef structs. Only one of the definitions is documented (and not the one I need). Annoyingly, even the PERLMOD output I'm trying to use for some custom parsing doesn't list the duplicate entry. |
|
I previously saw this issue with Doxygen 1.8.x, currently on 1.9.1 with the same issue. The following header files (also attached) represent a minimal contrived test case (this particular example could obviously be written in a saner way, but similar situations are sometimes unavoidable in complex projects, particularly those that include third-party auto-generated code) for both the missing duplicate struct and duplicate function issues. While I wouldn't expect Doxygen to necessarily link to the correct version of the definition in the HTML output, I would expect it's full listing of types (and the file-specific page for html output) to include the duplicate typedef/function in all output formats. Doxygen file created with "doxygen -g" with the following changes:
file1.h
file2.h
|
I your initial comment you wrote:
When looking at the output (html and perlmod) of
and in
and there is no evidence that So as far as I can see your problem is usage. |
status NEW severity major in component general for ---
Reported in version 1.8.2-SVN on platform Other
Assigned to: Dimitri van Heesch
Original attachment names and IDs:
On 2011-08-16 20:02:36 +0000, Henrik wrote:
On 2011-08-17 21:24:07 +0000, Henrik wrote:
On 2011-10-04 17:41:27 +0000, Henrik wrote:
On 2012-01-11 18:01:46 +0000, Henrik wrote:
On 2012-11-18 11:08:01 +0000, Dimitri van Heesch wrote:
The text was updated successfully, but these errors were encountered: