GNOME Bugzilla – Bug 624111
Treats global variables and typedefs as functions in some cases
Last modified: 2010-07-11 17:18:33 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
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
Confirmed. Should be fixed in the next subversion update. *** This bug has been marked as a duplicate of bug 621733 ***