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 627371 - #define in included file in different directory not handled properly
#define in included file in different directory not handled properly
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.1
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-08-19 14:55 UTC by Lukas Middendorf
Modified: 2010-10-09 08:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (2.79 KB, application/x-gzip)
2010-08-21 14:43 UTC, Lukas Middendorf
Details

Description Lukas Middendorf 2010-08-19 14:55:27 UTC
I have a very simple test case where I have a source file which includes a header with some defines from a different directory.

All defines made in the header are not used by doxygen. The header is processed which I can see from the fact that every define in the header can not be overwritten by a new define in the source file.

The doxygen documentation for the attached testcase only shows the typedef "blubbla" and not the other two typedefs. It should show all three.

To reproduce extract the archive and run "doxygen" in doxytest/source.


I'm using doxygen 1.7.1 from fedora 13.
Comment 1 Dimitri van Heesch 2010-08-21 14:33:02 UTC
Can you please attach the example you mentioned?
Comment 2 Lukas Middendorf 2010-08-21 14:43:25 UTC
Created attachment 168453 [details]
Test case

Sorry for the missing attachment. I guess I forgot to fill in the description field for the attachment in the original report and it just got dropped silently.
Comment 3 Dimitri van Heesch 2010-08-21 17:09:56 UTC
Confirmed. Should be fixed in the next subversion update.

As a workaround you could add the include directory to the INPUT list.
Comment 4 Dimitri van Heesch 2010-10-09 08:19:33 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.2. 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.