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 603001 - Erroneous warning: Found ';' while parsing initializer list!
Erroneous warning: Found ';' while parsing initializer list!
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.1
Other Linux
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2009-11-26 06:31 UTC by Braden
Modified: 2009-12-30 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Braden 2009-11-26 06:31:33 UTC
doxygen is emitting this warning:

/home/braden/src/openvrml/src/libopenvrml/openvrml/script.cpp:377: Warning: Found ';' while parsing initializer list! (doxygen could be confused by a macro call without semicolon)

... for this friend declaration:

  friend int (::openvrml_get_script_factory)(const std::string & filename,
                                             void * data);

Presumably the (necessary) full qualification is throwing doxygen off.
Comment 1 Dimitri van Heesch 2009-11-28 23:22:14 UTC
I think the braces around openvrml_get_script_factory are redundant since it is not a function pointer, without them it should have worked already.

I'll improve the parser to deal with this case.
Comment 2 Dimitri van Heesch 2009-12-30 13:38:41 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).