orbitcpp 1.3.8 generated code and gcc 2.95 issue
- From: Alexander Nedotsukov <bland mail ru>
- To: orbitcpp-list gnome org
- Cc: Bowie Owens <bowie owens csiro au>
- Subject: orbitcpp 1.3.8 generated code and gcc 2.95 issue
- Date: Tue, 18 Nov 2003 12:34:30 +0900
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 believe this problem was introduced in this commit:
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=pass_xlate.cc&branch=&root=/cvs/gnome&subdir=/orbitcpp/orbitcpp/idl-compiler&command=DIFF_FRAMESET&rev1=1.22&rev2=1.23
The question is what can be done to resolve the situation right way? I
guess the commit above was reasonable and it's may be not safe just to
backout it.
All the best,
Alexander.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]