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 557035 - Empty class definitions not included in Tokens file
Empty class definitions not included in Tokens file
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.7.1
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2008-10-20 05:53 UTC by Peter
Modified: 2009-12-30 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample header and config showing an empty class not listed in Tokens.xml (669 bytes, application/x-compressed-tar)
2008-10-21 19:44 UTC, Peter
Details

Description Peter 2008-10-20 05:53:50 UTC
Please describe the problem:
Doxygen expects a class to always have a member symbol (and to start with a +/-).  If the class has no members, doxygen fails to detect the class. Running doxygen over this header file with EXTRACT_ALL=YES causes no symbols to be found:


#import <Foundation/Foundation.h>

@interface MyEmptyClass : NSObject
@end


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Dimitri van Heesch 2008-10-21 18:09:47 UTC
I couldn't reproduce this (e.g. for me doxygen does produce a MyEmptyClass).
Can you attach a self-contained example (source+config file in a zip) that allows me to reproduce the problem?
Comment 2 Peter 2008-10-21 19:41:56 UTC
You're right.  The HTML pages do get generated in this case.  I was building the docset files and looking at the Tokens.xml file, which does not list MyEmptyClass.  I've updated the bug summary and will attach my test files.
Comment 3 Peter 2008-10-21 19:44:29 UTC
Created attachment 121055 [details]
Sample header and config showing an empty class not listed in Tokens.xml
Comment 4 Dimitri van Heesch 2009-10-24 18:56:44 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 5 Dimitri van Heesch 2009-12-30 13:38:54 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.6.2. Please verify if this is indeed the case and reopen the
bug if you think it is not fixed (include any additional information that you
think can be relevant).