Details
Description
When compiling xerces-c 3.2.2 on Solaris SPARC with Solaris Studio 12.2 and 12.4, the configuration stage passes, but the build fails on these 2 lines in Janitor.hpp:
158 XERCES_TEMPLATE_EXTERN template class XMLUTIL_EXPORT ArrayJanitor<XMLByte>;
159 XERCES_TEMPLATE_EXTERN template class XMLUTIL_EXPORT ArrayJanitor<XMLCh>;
The error messages are:
"./xercesc/util/Janitor.hpp", line 158: Error: A declaration does not specify a tag or an identifier.
"./xercesc/util/Janitor.hpp", line 158: Error: Use ";" to terminate declarations.
"./xercesc/util/Janitor.hpp", line 159: Error: A declaration does not specify a tag or an identifier.
"./xercesc/util/Janitor.hpp", line 159: Error: Use ";" to terminate declarations.
When I comment out these 2 lines, the builds succeeds. I did not run the tests...
The xerces-c 3.2.1 was built on the same environment successfully.
Attachments
Issue Links
- links to