Re: doxygen message I don't understand
"D. R. Evans" <[email protected]> Thu, 19 Apr 2018 08:19:01 -0600
| Newsgroups | gmane.text.doxygen.general |
|---|---|
| Message-ID | <[email protected]> |
Fabian Cenedese wrote on 04/19/2018 12:19 AM: > >> /home/n7dr/projects/drlog/src/drlog_context.cpp:1615: warning: documented >> symbol `decltype' was not declared or defined. >> ---- >> /*! \brief Get names and values of sent exchange fields for a particular mode >> \param m target mode >> \return the names and values of all the fields in the sent exchange >> when the mode is <i>m</i> >> */ >> const decltype(drlog_context::_sent_exchange) >> drlog_context::sent_exchange(const MODE m) >> ---- >> I don't understand what doxygen is complaining about. It looks fine to me, and >> there is no problem compiling. So how do I get rid of the message from doxygen? > > It's probably thinking that decltype is a function as the line > looks like a function declaration. If it is a macro then you > should give doxygen the macro definition or maybe enable > the macro expansion in the config file. I am afraid that I don't understand what point you are trying to make. The line *is* a function declaration; the return type for the function is: const decltype(drlog_context::_sent_exchange) which seems to be what doxygen is complaining about for some reason, even though it's a perfectly legitimate return type (and the compiler accepts it, as it should). There are no macros involved at all. Doc -- Web: http://enginehousebooks.com/drevans ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Doxygen-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/doxygen-users
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQRWBjQtTqmzCoJnxKFp16y8NikSuAUCWtilWQAKCRBp16y8NikS uPnCAJ4qLH984wIus2/Of4tjVRzAeK73OACbBaHr+7VEN1W0Pqp7AiXpbCcos2E= =6xXe -----END PGP SIGNATURE-----