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 535045 - Missing warning for unreachable #includes
Missing warning for unreachable #includes
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.5.6
Other All
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2008-05-27 09:41 UTC by Tom
Modified: 2018-07-30 10:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Complex include tree with files in other directories (32.22 KB, image/png)
2011-02-02 05:56 UTC, Michael Stangeland
Details

Description Tom 2008-05-27 09:41:30 UTC
For C source files, there should exist a warning, if an #include can’t be resolved properly or the included file is not found. As least there should be a switch for enabling such warnings.

E.g.
#include <myfarinclude.h> // with INCLUDE_PATH incorrect configured
#include “imnotthere.h” // with file not existing

The pre-processor of Doxygen just goes on and ignores evaluating the #include with all it's effects.


There is no warning, even if WANRINGS and WARN_IF_DOC_ERROR is set to YES.


Other information:
Comment 1 Michael Stangeland 2011-02-02 05:56:14 UTC
Created attachment 179861 [details]
Complex include tree with files in other directories

1) typedefs.h is considered not found for 3 files, yet it is found for other files.
2) rsapi.h has 2 include files "isbop.h" and "rssysext.h".  They are both documented as being included twice, and the 2nd time not clickable indicating not found.

Note: This is not an bug with DOT.  DOT is correctly generating an image of what Doxygen has interpreted.
Comment 2 Michael Stangeland 2011-02-03 11:58:43 UTC
I submitted a new bug report
https://bugzilla.gnome.org/show_bug.cgi?id=641336

My report is different because my bug is that Doxygen can't find the files, rather than reporting the absence of the feature "warning about missing files".

...though I would still like for Doxygen to give a warning about missing files :)
Comment 3 André Klapper 2018-07-30 10:19:09 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!