Typedef tag for a forward declared macro does not work

Doxygen 1.8.10

The following properties are set in the Doxyfile

ENABLE_PREPROCESSING   = YES
MACRO_EXPANSION        = YES
EXPAND_ONLY_PREDEF     = YES
EXPAND_AS_DEFINED      = FWD_DECL_SHD_PTR

In a test.dox.cpp file, I have the following:

namespace abc {
namespace def {
/*! \typedef boost::shared_ptr<FileRecord> FileRecord_ptr
* A shared pointer of a FileRecord 
*/
}
}

In a test.h file, I have the following macro:

FWD_DECL_SHD_PTR(FileRecord);

Here it the definiton of that macro:

#define FWD_DECL_SHD_PTR(T)

The macro forward declares a shared pointer to T of the form {{T}}_ptr

Therefore, in the above case, it forward declares a shared pointer named
FileRecord_ptr

However, when I generate the documentation, I see the following warning:

warning: documented symbol `boost::shared_ptr< FileRecord > FileRecord_ptr'
was not declared or defined.



--
View this message in context: 
http://doxygen.10944.n7.nabble.com/How-to-do-a-Typedef-tag-for-a-forward-declared-macro-tp7329.html
Sent from the Doxygen - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to