breathe icon indicating copy to clipboard operation
breathe copied to clipboard

doxygenfunction could not recognize function declarations with macro

Open firejq opened this issue 1 year ago • 5 comments

I am using Doxygen+Sphinx+Breathe to build the documents for my project.

If I use macros in the function definition:

MY_API void SetMyOptions(MyOptions* options);

Then when use .. doxygenfunction:: SetMyOptions to generate html, the following error will appear:

doxygenfunction: Unable to resolve function “SetMyOptions” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. 

Howerver, It's ok if the function declaration is like this:

void SetMyOptions(MyOptions* options);

Is this a bug? Or how should I adjust my directive? Thanks!

firejq avatar Apr 04 '23 06:04 firejq