I can confim that trunk doesn't compile for me either:

insets/InsetTabular.cpp:2259: error: ambiguous overload for ‘operator<<’ in
‘lyx::operator<<(((lyx::otexstream&)((lyx::otexstream*)os)), ((const
char*)"\\multirow{")) << lyx::Tabular::rowSpan(cell)’
./support/docstream.h:154: note: candidates are: lyx::otexstream&
lyx::operator<<(lyx::otexstream&, unsigned int)
./support/docstream.h:152: note:                 lyx::otexstream&
lyx::operator<<(lyx::otexstream&, int)
./support/docstream.h:150: note:                 lyx::otexstream&
lyx::operator<<(lyx::otexstream&, double)
./support/docstream.h:148: note:                 lyx::otexstream&
lyx::operator<<(lyx::otexstream&, char)
./support/docstream.h:146: note:                 lyx::otexstream&
lyx::operator<<(lyx::otexstream&, const char*) <near match>
./support/docstream.h:144: note:                 lyx::otexstream&
lyx::operator<<(lyx::otexstream&, const lyx::docstring&) <near match>
make[4]: *** [InsetTabular.o] Error 1
make[4]: Leaving directory `/home/quesada/projIfollow/lyx-devel/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/quesada/projIfollow/lyx-devel/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/quesada/projIfollow/lyx-devel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/quesada/projIfollow/lyx-devel'
make: *** [all] Error 2

sabayon~/projIfollow/lyx-devel ♪ g++ --version
g++ (Gentoo 4.4.4-r2 p1.3, pie-0.4.5) 4.4.4

Best,
-Jose


On Sat, Jan 29, 2011 at 2:23 PM, Kornel <kor...@lyx.org> wrote:

>  Am Samstag, 29. Januar 2011 schrieb Peter Kümmel:
>
> > > This cured it for me, but I fear it is not the proper c++ patch.
>
> > >
>
> > >
>
> > >
>
> > >       Kornel
>
> >
>
> > Yes, the cast isn't nice. Does attached patch also fix the problem?
>
> > If yes, I think you could commit it.
>
> >
>
> > Peter
>
> Yes, it compiles now.
>
>  Kornel
>
>


-- 
Best,
-Jose

Jose Quesada, PhD.
Research scientist,
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada

Reply via email to