Re: tex2lyx link error: Buffer::B_ undefined

2005-09-11 Thread Martin Vermeer
On Fri, Sep 09, 2005 at 04:53:11PM +0200, Jean-Marc Lasgouttes wrote: > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > > Georg> Jean-Marc Lasgouttes wrote: > >> Actually, I tried it, and it seems to just work. > >> > >> Comments? > > Georg> I did not test it, but the code looks good.

Re: tex2lyx link error: Buffer::B_ undefined

2005-09-09 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> Actually, I tried it, and it seems to just work. >> >> Comments? Georg> I did not test it, but the code looks good. I committed it. JMarc

Re: tex2lyx link error: Buffer::B_ undefined

2005-09-09 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Actually, I tried it, and it seems to just work. > > Comments? I did not test it, but the code looks good. Georg

Re: tex2lyx link error: Buffer::B_ undefined

2005-09-09 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> I have a better solution, which is to move enumLabel out of Jean-Marc> Counters, where it does not belong anyway. The code should Jean-Marc> go in

Re: tex2lyx link error: Buffer::B_ undefined

2005-09-09 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> I have a better solution, which is to move enumLabel out of Jean-Marc> Counters, where it does not belong anyway. The code should Jean-Marc> go in buffer_funcs.C. Jean-Marc> I'll post a patch. Here is an untested pa

Re: tex2lyx link error: Buffer::B_ undefined

2005-09-09 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> I propose the attached solution. Or, if you don't like buffer Georg> code in gettext.C, create a dummy file tex2lyx/buffer.C that Georg> contains Buffer::B_(). I rather don't want to create an extra Georg> copy of counter.C, because th

Re: tex2lyx link error: Buffer::B_ undefined

2005-09-09 Thread Georg Baum
Angus Leeming wrote: > /home/angus/lyx/devel/build/src/tex2lyx/counters.C:336: undefined > reference to `Buffer::B_(std::basic_string, > std::allocator > const&) const' > collect2: ld returned 1 exit status I propose the attached solution. Or, if you don't like buffer code in gettext.C, create a

tex2lyx link error: Buffer::B_ undefined

2005-09-09 Thread Angus Leeming
This is with current CVS. g++ -fno-exceptions -g -O -o tex2lyx FloatList.o Floating.o counters.o lyxlayout.o lyxtextclass.o lyxlex.o lyxlex_pimpl.o boost.o context.o gettext.o lengthcommon.o lyxfont.o texparser.o tex2lyx.o preamble.o math.o table.o text.o ../../src/support/.libs/libsupport.a ../