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 680098 - Warnings about static_assert
Warnings about static_assert
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.6.1
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-07-17 14:09 UTC by Steve White
Modified: 2012-08-11 13:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steve White 2012-07-17 14:09:25 UTC
Misinterprets C++11's static_assert() as a member.  For instance:

template< counter B, counter P > struct Power {
        static_assert( P < 100, "Power exponent too big." );
        enum { value = B * Power< B, P - 1 >::value };
};

Produces:

warning: Member static_assert(P< 100,"Power exponent too big.") (function) of class Power is not documented.

It should ignore static_assert.
Comment 1 Dimitri van Heesch 2012-07-19 12:43:45 UTC
Confirmed. Should be corrected in the next subversion update.
Comment 2 Dimitri van Heesch 2012-08-11 13:18:23 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.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.