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 611193 - Doxygen thinks catch(...) is a function
Doxygen thinks catch(...) is a function
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-02-26 16:53 UTC by Timothy Madden
Modified: 2011-03-28 14:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example code to reproduce the problem (854 bytes, text/plain)
2010-02-26 16:53 UTC, Timothy Madden
Details
Doxyfile for the doxygen session, setting Doxygen to treat all entities as documented. (10.27 KB, text/plain)
2010-02-26 16:54 UTC, Timothy Madden
Details
Constructor function tryblock example (453 bytes, text/x-c++src)
2011-02-17 07:37 UTC, larswrst
Details

Description Timothy Madden 2010-02-26 16:53:17 UTC
Created attachment 154769 [details]
Example code to reproduce the problem

The catch(...) clause of one of my functions is always documented as a function.

I have Windows 7 Proffesional 6.1.7600, 64 bit.

The sample code is minimal, but the original code compiles successfully with Visual C++ 2008.
Comment 1 Timothy Madden 2010-02-26 16:54:52 UTC
Created attachment 154770 [details]
Doxyfile for the doxygen session, setting Doxygen to treat all entities as documented.
Comment 2 Timothy Madden 2010-03-15 11:06:31 UTC
Still present with 1.6.3
Comment 3 Timothy Madden 2010-03-15 11:13:38 UTC
Looks like it happens on any try/catch function of the form

retval FuncName(params, ...)
try
{
    // ...
    // function body
    // ...
}
catch (exception...)
{
    // catch handler
}
catch (...)
{
    // catch handler
}
Comment 4 Dimitri van Heesch 2010-04-11 12:36:21 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 5 Dimitri van Heesch 2010-06-15 11:21:58 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 6 Timothy Madden 2010-06-16 09:24:25 UTC
Yes it works now

Thank you
Comment 7 larswrst 2011-02-17 07:37:34 UTC
Created attachment 181103 [details]
Constructor function tryblock example
Comment 8 larswrst 2011-02-17 07:39:36 UTC
I have the same problem when using a constructor function try block, see attached file.

I use Doxygen 1.7.2. The code compiles with mingw32 gcc 4.5.0.
Comment 9 Dimitri van Heesch 2011-02-17 18:54:13 UTC
Confirmed. The "try:" is causing the problem. Workaround: use "try :".
Should be corrected in the next subversion update.
Comment 10 Dimitri van Heesch 2011-03-28 14:19:07 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.4. 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.