Re: Still cannot build cvs

2000-10-13 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | void_class_fun_t(C & ct, void(C::*p)(A)) | : c(ct), cmf(p) {} | void operator()(A & a) const { | - return (c.*cmf)(a); | + (c.*cmf)(a); fixed. | template | -back_insert_fun_iterator | +const_back_ins

Re: Still cannot build cvs

2000-10-13 Thread Angus Leeming
see fix. A Index: src/support/lyxfunctional.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/lyxfunctional.h,v retrieving revision 1.4 diff -u -r1.4 lyxfunctional.h --- src/support/lyxfunctional.h 2000/10/13 14:10:35

Re: Still cannot build cvs

2000-10-13 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I have not tried to compile this yet, but can you try the Lars> current cvs (in two minutes). Seems to work, although there is a small typo in the void_memfun_t constructor. Hmm, I get: cxx: Error: ../../lyx-devel/src/suppor

Re: Still cannot build cvs

2000-10-13 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Fri, 13 Oct 2000, Jean-Marc Lasgouttes wrote: | > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: | > | > Angus> I've done it. See previous patch | > | > Do you mean the patch should be applied? I thought it was just a | > proof-of-concept

Re: Still cannot build cvs

2000-10-13 Thread Angus Leeming
On Fri, 13 Oct 2000, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> I've done it. See previous patch > > Do you mean the patch should be applied? I thought it was just a > proof-of-concept. Sorry, thought you'd missed it! You're right, I'd not

Re: Still cannot build cvs

2000-10-13 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> | Lars> Allmost the right fix, instead of adding const versions Lars> to | Lars> compare_memfun_

Re: Still cannot build cvs

2000-10-13 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | | Lars> Allmost the right fix, instead of adding const versions to | Lars> compare_memfun_t a const_compare_memfun_t should have been | Lars> added. | | Are you planing to do

Re: Still cannot build cvs

2000-10-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I've done it. See previous patch Do you mean the patch should be applied? I thought it was just a proof-of-concept. JMarc

Re: Still cannot build cvs

2000-10-13 Thread Angus Leeming
On Fri, 13 Oct 2000, Jean-Marc Lasgouttes wrote: > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > Lars> Allmost the right fix, instead of adding const versions to > Lars> compare_memfun_t a const_compare_memfun_t should have been > Lars> added. > > Are you planing to do it? >

Re: Still cannot build cvs

2000-10-13 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Allmost the right fix, instead of adding const versions to Lars> compare_memfun_t a const_compare_memfun_t should have been Lars> added. Are you planing to do it? JMarc

Re: Still cannot build cvs

2000-10-13 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Ok, NOW compile fails in bufferlist.C | | Error 1? There is no mem_fun in lyxfunctional at all! Or in any | other file! it is in | Error 2, back_inserter_fun is probably a const-thing. should be easy to fix then... especially if the compiler gives

Re: Still cannot build cvs

2000-10-13 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Thu, 12 Oct 2000, Jean-Marc Lasgouttes wrote: | > So, even when trying to ignore the vsnprntf problem, it seems I cannot | > use the brand new compare_memfun thingie. Since the error message (or | > rather the template definition) is chinese to me, I

Re: Still cannot build cvs

2000-10-12 Thread Angus Leeming
Ok, NOW compile fails in bufferlist.C Error 1? There is no mem_fun in lyxfunctional at all! Or in any other file! Error 2, back_inserter_fun is probably a const-thing. Error 3 is obvious. Giving up and going home. Angus cxx: Error: bufferlist.C, line 167: #20 identifier "mem_fun" is undefined

Re: Still cannot build cvs

2000-10-12 Thread Angus Leeming
On Thu, 12 Oct 2000, Jean-Marc Lasgouttes wrote: > So, even when trying to ignore the vsnprntf problem, it seems I cannot > use the brand new compare_memfun thingie. Since the error message (or > rather the template definition) is chinese to me, I'd appreciate a fix. > > mycxx -DHAVE_CONFIG_H -I.

Still cannot build cvs

2000-10-12 Thread Jean-Marc Lasgouttes
So, even when trying to ignore the vsnprntf problem, it seems I cannot use the brand new compare_memfun thingie. Since the error message (or rather the template definition) is chinese to me, I'd appreciate a fix. mycxx -DHAVE_CONFIG_H -I. -I../../lyx-devel/src -I. -I.. -I../../lyx-devel -I../..