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

Studio 12.1 error compiling index.cpp (Origin: bugzilla #663640) #4462

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component build for ---
Reported in version on platform Other
Assigned to: Dimitri van Heesch

On 2011-11-08 17:00:08 +0000, Rainer Orth wrote:

When trying to compile doxygen on Solaris 10/x86 with Oracle Studio 12.1
CC, I came across the following error:

"index.cpp", line 3119: Error: Reference to static fixSpaces(const QCString&) not allowed in template writeMemberNavIndex(FTextStream&, int, int, int*, MemberIndexList()[256], const CmhlInfo()(int), bool&), try using -features=tmplrefstatic.
"index.cpp", line 3213: Where: While instantiating "writeMemberNavIndex(FTextStream&, int, int, int
, MemberIndexList()[256], const CmhlInfo(*)(int), bool&)".
"index.cpp", line 3213: Where: Instantiated from non-template code.
1 Error(s) and 1 Warning(s) detected.

The suggested workaround works, but being C++-illiterate, I cannot tell if the
issue is genuine or a compiler limitation.


On 2011-11-08 19:07:21 +0000, Dimitri van Heesch wrote:

It's a compiler limitation (since it only happens on Solaris CC).
I had already included this workaround in the latest snapshot from subversion.

On 2011-11-09 14:17:13 +0000, Rainer Orth wrote:

I've just tried SVN doxygen with Studio 12.2 Beta CC (and the -w in
tmake.conf removed), and the error is gone.


On 2011-12-03 18:23:04 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.6. 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.

@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