You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Stephen (JIRA)" <xa...@xml.apache.org> on 2005/06/02 18:27:52 UTC

[jira] Created: (XALANC-525) gcc 3.4 build problems: hidden copy constructors incompatible with binding an rvalue to a const reference

gcc 3.4 build problems: hidden copy constructors incompatible with binding an rvalue to a const reference
---------------------------------------------------------------------------------------------------------

         Key: XALANC-525
         URL: http://issues.apache.org/jira/browse/XALANC-525
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: 1.9    
 Environment: Linux Advanced Server 3; gcc 3.4.3
    Reporter: Stephen
    Priority: Minor


Binding an rvalue to a const reference requires an accessible copy constructor. Instances of several classes in XalanC with private copy ctors are bound as an rvalue. For example,

xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp: In member function `xalanc_1_9::XObjectPtr xalanc_1_9::XPathEvaluator::evaluate(xalanc_1_9::DOMSupport&, xalanc_1_9::XalanNode*, const xalanc_1_9::XalanDOMChar*, const xalanc_1_9::XalanElement*)':
xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89: error: `xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const xalanc_1_9::ElementPrefixResolverProxy&)' is private
xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:279: error: within this context


The following URL describes the problem in detail (http://gcc.gnu.org/bugs.html#cxx_rvalbind).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Re: [jira] Created: (XALANC-525) gcc 3.4 build problems: hidden copy constructors incompatible with binding an rvalue to a const reference

Posted by Lonnie VanZandt <lo...@ngc.com>.
Excellent! This explains why FreeBSD 5.4 with gcc 3.4.3 needed its numerous 
patches for these hidden constructors, why a linux build had a similar issue, 
and probably why the individual running into a similar-sounding issue with 
Solaris had problems.

On Thursday 02 June 2005 10:27 am, Stephen (JIRA) wrote:
> gcc 3.4 build problems: hidden copy constructors incompatible with binding
> an rvalue to a const reference
> ---------------------------------------------------------------------------
>------------------------------
>
>          Key: XALANC-525
>          URL: http://issues.apache.org/jira/browse/XALANC-525
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: 1.9
>  Environment: Linux Advanced Server 3; gcc 3.4.3
>     Reporter: Stephen
>     Priority: Minor
>
>
> Binding an rvalue to a const reference requires an accessible copy
> constructor. Instances of several classes in XalanC with private copy ctors
> are bound as an rvalue. For example,
>
> xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp: In member function
> `xalanc_1_9::XObjectPtr
> xalanc_1_9::XPathEvaluator::evaluate(xalanc_1_9::DOMSupport&,
> xalanc_1_9::XalanNode*, const xalanc_1_9::XalanDOMChar*, const
> xalanc_1_9::XalanElement*)':
> xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89: error:
> `xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const
> xalanc_1_9::ElementPrefixResolverProxy&)' is private
> xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:279: error: within this
> context
>
>
> The following URL describes the problem in detail
> (http://gcc.gnu.org/bugs.html#cxx_rvalbind).


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


[jira] Resolved: (XALANC-525) gcc 3.4 build problems: hidden copy constructors incompatible with binding an rvalue to a const reference

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-525?page=all ]
     
David Bertoni resolved XALANC-525:
----------------------------------

    Resolution: Duplicate

These bugs are already fixed in the CVS repository.

> gcc 3.4 build problems: hidden copy constructors incompatible with binding an rvalue to a const reference
> ---------------------------------------------------------------------------------------------------------
>
>          Key: XALANC-525
>          URL: http://issues.apache.org/jira/browse/XALANC-525
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: 1.9
>  Environment: Linux Advanced Server 3; gcc 3.4.3
>     Reporter: Stephen
>     Priority: Minor

>
> Binding an rvalue to a const reference requires an accessible copy constructor. Instances of several classes in XalanC with private copy ctors are bound as an rvalue. For example,
> xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp: In member function `xalanc_1_9::XObjectPtr xalanc_1_9::XPathEvaluator::evaluate(xalanc_1_9::DOMSupport&, xalanc_1_9::XalanNode*, const xalanc_1_9::XalanDOMChar*, const xalanc_1_9::XalanElement*)':
> xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89: error: `xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const xalanc_1_9::ElementPrefixResolverProxy&)' is private
> xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:279: error: within this context
> The following URL describes the problem in detail (http://gcc.gnu.org/bugs.html#cxx_rvalbind).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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