You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (Jira)" <xe...@xml.apache.org> on 2020/04/01 16:43:00 UTC

[jira] [Commented] (XERCESC-2185) Janitor.hpp fails to compile on Solaris with Solaris Studio 12.2 and 12.4

    [ https://issues.apache.org/jira/browse/XERCESC-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072958#comment-17072958 ] 

Scott Cantor commented on XERCESC-2185:
---------------------------------------

Fixed per XERCESC-2187.

> Janitor.hpp fails to compile on Solaris with Solaris Studio 12.2 and 12.4
> -------------------------------------------------------------------------
>
>                 Key: XERCESC-2185
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2185
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.2.2
>         Environment: SunOS <myhostname> 5.10 Generic_147440-12 sun4v sparc sun4v
> CC: Sun C++ 5.11 SunOS_sparc 2010/08/13
>            Reporter: Alexey Roytman
>            Assignee: Scott Cantor
>            Priority: Major
>             Fix For: 3.2.3
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org