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 674856 - \endinternal issues warnings
\endinternal issues warnings
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.0
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-04-26 09:25 UTC by tanjeff
Modified: 2013-05-19 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
PATCH: Suppress \endinternal message (1.20 KB, patch)
2013-01-06 14:40 UTC, albert
none Details | Review

Description tanjeff 2012-04-26 09:25:55 UTC
The use of \endinternal issues warnings like

/home/dateien/projekte/agentxcpp/src/oid.hpp:119: warning: found \endinternal without matching \internal

Note that the command \endinternal works as expected, except of the warning.
Comment 1 Steve Pucci 2012-08-25 22:22:32 UTC
I'm seeing this all the time too.  Here's an example standalone .md file which demonstrates it:


My Section Header
=================

This is common text.

@internal
This is internal-only text.
@endinternal

This is common text too.



<prompt> doxygen doxygen-cfg
/Users/spucci/doxy/endinternalbug/mainpage.md:7: warning: found \endinternal without matching \internal
<prompt> spucci%
Comment 2 Passer Ivan 2012-10-22 16:19:01 UTC
Spotted this on 1.7, and then on 1.8.2. If INTERNAL_DOCS=YES then the lex script does not enter the SKIP_INTERNAL state and thus gives a warning on the \endinternal command.
Quick solution would be to add the same if( INTERNAL_DOCS = NO) like at the \internal command mark in the script. Downside would be that if INTERNAL_DOCS=YES then it would just ignore the \endinternal and would not warn about actual mismatches.
Comment 3 albert 2013-01-06 14:40:36 UTC
Created attachment 232860 [details] [review]
PATCH: Suppress \endinternal message

This patch suppresses the "warning: found \endinternal without matching \internal" in case INTERNAL_DOCS is set to YES.
Comment 4 Dimitri van Heesch 2013-01-20 15:06:08 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 5 Dimitri van Heesch 2013-05-19 12:36:52 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.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.
Comment 6 tanjeff 2013-05-19 13:23:50 UTC
I confirm that the problem is solved in doxygen 1.8.4. Thank you!