GNOME Bugzilla – Bug 527049
Caller and Call Graph Functions are incorrectly recursive
Last modified: 2018-07-30 10:21:32 UTC
Please describe the problem: The DOT "call" and "caller" graphs that are generated show functions incorrectly calling themselves. The attached tar file shows a simple example. The problem seems to be correctable by turning on EXTRACT_ALL or by adding the /**@file*/ tag to the provided 'src/source.c' file. However, this example project was reduced from a larger project, in which only turning on EXTRACT_ALL fixes the problem. Steps to reproduce: 1. extract the tar file 2. view doc/html/d2/ddc/test_8h.html 3. turn on EXTRACT_ALL or add the /**@file*/ header to the file 'src/source.c' 4. run doxygen, view doc/html/d2/ddc/test_8h.html, problem corrected Actual results: Expected results: Does this happen every time? Other information:
Created attachment 108899 [details] sample project with source files and pregenerated output
The bug is still open in DoxyGen Version 1.8.7 Here is on additional example: ------------------- void tic() { tac(); } void tac() { toc(); } void toc() { tic(); } int fact(int n) { int x=1; while(n>1) { x=n*fact(n-1); } return(x); } void main() { fact(5); tic(); }
Created attachment 278449 [details] Call graph does not show recursive functions.
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!