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
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
> "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
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
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
> "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_
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
> "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
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?
>
> "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
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
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
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
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.
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../..
15 matches
Mail list logo