After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 610166 - bad links in source code browser for multiple functions of same name
bad links in source code browser for multiple functions of same name
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.6.2-SVN
Other Linux
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2010-02-16 16:11 UTC by Stan Holenda
Modified: 2018-07-30 10:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example code with doxyfile (18.59 KB, application/octet-stream)
2010-02-16 16:11 UTC, Stan Holenda
Details

Description Stan Holenda 2010-02-16 16:11:24 UTC
Created attachment 153933 [details]
Example code with doxyfile

Consider a C project consisting of more binaries, there will be several functions of same name (at least main functions). 

Doxygen correctly detects, there are separate "main" functions (shown e.g. in Globals) and creates separate pages for them. 

However if you go to the source code the links to the "main" function all point to first occurrence of "main" in project (see attached example code).

Expected behavior (in this example) is clicking on "main" in e.g. test3.c should lead to test3.c page not test1.c.


Tested with 1.6.2-20100208 SVN rev. 720
Comment 1 doxygen.dumper 2010-10-01 15:37:50 UTC
I'm experiencing the same issue. In my case, I have 10s and even hundreds of source files, most with a "main" and a "mainline" function, some with "finalization" functions. When you click on the link for these functions, they take you to a different source file with the same function. If you're not careful and are not looking at the source name which is often just in the header, this can be confusing to the user.

Also, I noticed that the call graph for functions with names like "main" will more often than not represent the interactions in a different source file.
Comment 2 André Klapper 2018-07-30 10:20:32 UTC
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to 

   https://github.com/doxygen/doxygen/issues

All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github.

Hence I am closing this GNOME Bugzilla ticket.
Please use the corresponding ticket in Github instead. Thanks a lot!