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 624111 - Treats global variables and typedefs as functions in some cases
Treats global variables and typedefs as functions in some cases
Status: RESOLVED DUPLICATE of bug 621733
Product: doxygen
Classification: Other
Component: general
1.7.1
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-07-11 16:39 UTC by Roger Leigh
Modified: 2010-07-11 17:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example of simple global vars (1.56 KB, text/x-chdr)
2010-07-11 16:39 UTC, Roger Leigh
Details

Description Roger Leigh 2010-07-11 16:39:17 UTC
Created attachment 165685 [details]
Example of simple global vars

/home/rleigh/schroot/sbuild/sbuild-ctty.h:50: warning: return type of member sbuild::cctty is not documented
/home/rleigh/schroot/sbuild/sbuild-ctty.h:44: warning: return type of member sbuild::CTTY_FILENO is not documented

As you can see from the attachment:
namespace sbuild
{
  extern const int CTTY_FILENO;
  extern std::iostream cctty;
}

both are just simple variables with documentation.  There's no return type because the don't return anything.  I think maybe doxygen is misunderstanding what these are for some reason?

OK in 1.6.3, only seen in 1.7.1.


Regards,
Roger
Comment 1 Roger Leigh 2010-07-11 16:41:00 UTC
Also appears on typedefs:

namespace sbuild
{
  /**
   * Configuration file parser.  This class loads an INI-style
   * configuration file from a file or stream.  The format is
   * documented in schroot.conf(5).
   */
  typedef basic_keyfile<keyfile_traits, keyfile_parser<keyfile_traits> > keyfile;
}

==>
/home/rleigh/schroot/sbuild/sbuild-keyfile.h:154: warning: return type of member sbuild::keyfile is not documented

This is just a typedef, so again shouldn't have a return type since it is simply a type.


Regards,
Roger
Comment 2 Dimitri van Heesch 2010-07-11 17:18:33 UTC
Confirmed. Should be fixed in the next subversion update.

*** This bug has been marked as a duplicate of bug 621733 ***