You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Gregor Bornemann <g....@gmx.de> on 2000/09/22 11:53:08 UTC

Re: Xalan C++ Build problem

Am Fre, 22 Sep 2000 schrieben Sie:

>./../../include/g++-3/memory:40: in passing argument 1 of
> `auto_ptr<FormatterListener>::operator
> =(auto_ptr<FormatterListener> &)'
> XMLSupport/XMLParserLiaisonDefault.cpp:261: initialization of non-const
> reference type `class auto_ptr<FormatterListener> &'
> XMLSupport/XMLParserLiaisonDefault.cpp:261: from rvalue of type
> `auto_ptr<FormatterListener>'/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../.
Try to remove  the XALAN_OLD_AUTO_PTR definition in 
Include/GCCDefinitions.hpp :

change 
#define XALAN_OLD_AUTO_PTR
to

#undef XALAN_OLD_AUTO_PTR

Re: Xalan C++ Build problem

Posted by Frank Collas <fc...@ip.lu>.
Many thanks,

This solved the problem.

Frank

Gregor Bornemann wrote:

> Am Fre, 22 Sep 2000 schrieben Sie:
>
> >./../../include/g++-3/memory:40: in passing argument 1 of
> > `auto_ptr<FormatterListener>::operator
> > =(auto_ptr<FormatterListener> &)'
> > XMLSupport/XMLParserLiaisonDefault.cpp:261: initialization of non-const
> > reference type `class auto_ptr<FormatterListener> &'
> > XMLSupport/XMLParserLiaisonDefault.cpp:261: from rvalue of type
> > `auto_ptr<FormatterListener>'/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../.
> Try to remove  the XALAN_OLD_AUTO_PTR definition in
> Include/GCCDefinitions.hpp :
>
> change
> #define XALAN_OLD_AUTO_PTR
> to
>
> #undef XALAN_OLD_AUTO_PTR

--
Infopartners participe à Software et Internet Expo, les 25 et 26 octobre
2000 à  la Foire Internationale à Luxembourg.
Venez découvrir nos produits et solutions sur notre stand no 2C/47.