[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: monotone-0.17 w/gcc-3.4.3
From: |
Deliverable Mail |
Subject: |
[Monotone-devel] Re: monotone-0.17 w/gcc-3.4.3 |
Date: |
Wed, 23 Mar 2005 17:48:33 -0500 |
Oh, I probably have an old popt, which may be the cause of the
problem. WIll check & try! Thx for the patch.
Cheers,
Alexy
On Wed, 23 Mar 2005 14:39:43 -0800, Nathaniel Smith <address@hidden> wrote:
> On Wed, Mar 23, 2005 at 04:53:07PM -0500, Deliverable Mail wrote:
> > I'm almost there, compiling boost-1.32 and monotone-0.17 with
> > gcc-3.4.3. Here's what I get in monotone:
> >
> > /vol/src/monotone/monotone-0.17/monotone.cc: In function `int
> > cpp_main(int, char**)':
> > /vol/src/monotone/monotone-0.17/monotone.cc:180: error: invalid
> > conversion from `void (*)(poptContext_s*)' to
> > `poptContext_s*(*)(poptContext_s*)'
> > /vol/src/monotone/monotone-0.17/monotone.cc:180: error: initializing
> > argument 2 of `cleanup_ptr<T, R>::cleanup_ptr(T, R (*)(T)) [with T =
> > poptContext_s*, R = poptContext_s*]'
> >
> > How do I fix this properly (which cast to stick where)?
>
> Argh. Apparently the popt people changed their interface without
> telling anybody -- in fact, my popt (1.7) documents itself to do what
> your version does, but actually implements what the code currently
> expects.
>
> A fix is in fde253c0ee683a847eece25b54d8d2747cf14294, or you can just
> try applying the patch here to make sure it works... (fde25 has
> several other changes in it as well since 0.17).
>
> -- Nathaniel
>
> --
> In mathematics, it's not enough to read the words
> you have to hear the music
>
>