You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently giving AsciiDoxy a try and want to demonstrate the usage in a showcase. Unfortunately I am running into problems when I use a header with a forward declaration:
ERROR: Error while processing AsciiDoc files:
Multiple matches for get_lang. Please provide more details.
Matching candidates:
cpp function get_lang(const char *)
cpp function get_lang(const char *)
Traceback:
File index.adoc, line 18, in AsciiDoc
${insert("get_lang")}
File /usr/lib/python3.12/site-packages/asciidoxy/generator/asciidoc.py, line 140, in _wrapper
ret = f(*args, **kwargs)
File /usr/lib/python3.12/site-packages/asciidoxy/generator/asciidoc.py, line 281, in insert
return self.insert_fragment(self.find_element(name,
File /usr/lib/python3.12/site-packages/asciidoxy/generator/asciidoc.py, line 595, in find_element
raise AmbiguousReferenceError(name, ex.candidates)
make: *** [asciidoxy] Error 1
The error is understandable, Doxygen finds the forward and the actual declaration and both can be seen in the resulting xml files:
I am currently giving AsciiDoxy a try and want to demonstrate the usage in a showcase. Unfortunately I am running into problems when I use a header with a forward declaration:
The error is understandable, Doxygen finds the forward and the actual declaration and both can be seen in the resulting xml files:
So how can I tell AsciiDoxy to use a specific definition? Access to the location tag or something alike would be great:
<location file="src/lang.h" line="24" column="6" bodyfile="src/lang.c" bodystart="43" bodyend="57" declfile="src/lang.h" declline="24" declcolumn="6"/>
${insert("get_lang", location="src/lang.h")}
Everything I have done can be found here:
https://github.com/unexist/showcase-asciidoxy
Versions:
Doxygen 1.11.0
AsciiDoxy 0.8.7
The text was updated successfully, but these errors were encountered: