New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect LaTeX generation for private union member in C++ (Origin: bugzilla #733605) #5524

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status RESOLVED severity minor in component general for ---
Reported in version 1.8.6 on platform Other
Assigned to: Dimitri van Heesch

On 2014-07-23 14:49:54 +0000, wrote:

Given the following C++ code

class Foo {
union { int x; char y; } v;
int get_int() { return v.x; }

and a standard configuration file, except for EXTRACT_PRIVATE=YES, doxygen is generating incorrect LaTeX code for the private attributes of Foo. More precisely, the relevant fragment of the tex document is following:

\hypertarget{unionFoo_1_1@0_a16eddb7296c37d91335845d7b847c6b3}{>int {\bfseries x}\
\hypertarget{unionFoo_1_1@0_ae4b5d1d732df4608dbc4871c55b7f4b2}{>char {\bfseries y}\

where the second argument of \hypertarget is lacking a closing brace }.

Setting EXTRACT_ALL=YES in addition to EXTRACT_PRIVATE=YES results in a correct output.

Issue has been originally mentioned on StackOverflow (, where it has been reported that 1.8.7 is affected as well.

On 2014-08-04 14:04:03 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2014-08-21 17:15:37 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.8. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant (preferrably in the form of a self-contained example).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment