[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] monotone-0.17 w/gcc-3.4.3

From: Nathaniel Smith
Subject: Re: [Monotone-devel] monotone-0.17 w/gcc-3.4.3
Date: Wed, 23 Mar 2005 14:39:43 -0800
User-agent: Mutt/1.5.6+20040907i

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/ In function `int
> cpp_main(int, char**)':
> /vol/src/monotone/monotone-0.17/ error: invalid
> conversion from `void (*)(poptContext_s*)' to
> `poptContext_s*(*)(poptContext_s*)'
> /vol/src/monotone/monotone-0.17/ 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

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

Attachment: poptFreeContext.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]