After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663640 - Studio 12.1 error compiling index.cpp
Studio 12.1 error compiling index.cpp
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.7.5.1
Other Solaris
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-11-08 17:00 UTC by Rainer Orth
Modified: 2011-12-03 18:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rainer Orth 2011-11-08 17:00:08 UTC
When trying to compile doxygen 1.7.5.1 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<CmhlInfo>(FTextStream&, int, int, int*, MemberIndexList(*)[256], const CmhlInfo*(*)(int), bool&), try using -features=tmplrefstatic.
"index.cpp", line 3213:     Where: While instantiating "writeMemberNavIndex<CmhlInfo>(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.

  Rainer
Comment 1 Dimitri van Heesch 2011-11-08 19:07:21 UTC
It's a compiler limitation (since it only happens on Solaris CC).
I had already included this workaround in the latest snapshot from subversion.
Comment 2 Rainer Orth 2011-11-09 14:17:13 UTC
I've just tried SVN doxygen with Studio 12.2 Beta CC (and the -w in
tmake.conf removed), and the error is gone.

	Rainer
Comment 3 Dimitri van Heesch 2011-12-03 18:23:04 UTC
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.