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
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ 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 Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users