Re: orbitcpp 1.3.8 generated code and gcc 2.95 issue
- From: Bowie Owens <bowie owens csiro au>
- To: Alexander Nedotsukov <bland mail ru>
- Cc: orbitcpp-list gnome org
- Subject: Re: orbitcpp 1.3.8 generated code and gcc 2.95 issue
- Date: Tue, 02 Dec 2003 14:00:47 +1100
Alexander Nedotsukov wrote:
Hi,
In attempt to build new libbonobomm stuff I faced this problem. Gcc
2.95. don't understands contructions like this (it complains about
syntax error):
template<>
inline ::Bonobo::Canvas::affine_slice *
::Bonobo::Canvas::affineProps::alloc ()
{
return ::Bonobo::Canvas::affine_alloc ();
}
Since we already in ::Bonobo::Canvas namespace scope there this can be
rewriten as:
template<>
inline ::Bonobo::Canvas::affine_slice * affineProps::alloc ()
{
return ::Bonobo::Canvas::affine_alloc ();
}
Wich satisfy crafty tool.
I've taken another look at this and I think there is a better way to fix
this using function pointers instead of partial template specialization.
I have checked in to CVS a patch which eliminates the generation of the
above code. I need you to check that the code that now gets generated
compiles with GCC 2.95.
--
Bowie Owens
CSIRO Mathematical & Information Sciences
phone : +61 3 9545 8055
fax : +61 3 9545 8080
mobile : 0425 729 875
email : Bowie Owens csiro au
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]