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 611888 - Preprocessor include file handling is broken
Preprocessor include file handling is broken
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-03-05 11:11 UTC by o.ehlert
Modified: 2010-06-16 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshots Doxygen (476.78 KB, image/jpeg)
2010-03-05 11:11 UTC, o.ehlert
Details

Description o.ehlert 2010-03-05 11:11:04 UTC
Created attachment 155295 [details]
Screenshots Doxygen

Doxygen version 1.6.3 has a problem with C files with nested includes. 

Please find attached a screenshot of output from 1.5.6 and 1.6.3.
Output of version 1.5.6 is right, output of 1.6.3 is missing include files and shows wrong references in include graph (and call graph at bottom).

Please let me apologize for not providing a better example, I was not able to reproduce the problem with a smaller example (source is not included because of commercial code).

Problem is independent of configuration (e.g. setting of MACRO_EXPANSION), I tried several combinations and all have the same result.
Comment 1 Dimitri van Heesch 2010-03-05 19:58:35 UTC
Confirmed. There was an optimization done in the preprocessor, which has this unwanted side-effect. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2010-06-15 11:22:12 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.0. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
Comment 3 o.ehlert 2010-06-16 16:16:58 UTC
Problem fixed, version 1.7.0 now shows all code parts.
Remark: To have the correct printout, I had to add all directories with header files manually in INCLUDE_PATH, despite the fact, that all header files are already input files.