monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] cmd_automate.cc:128: error: using-declaration for n


From: Shaun Jackman
Subject: Re: [Monotone-devel] cmd_automate.cc:128: error: using-declaration for non-member at class scope
Date: Mon, 19 Jun 2006 14:27:04 -0600

On 6/19/06, Nathaniel Smith <address@hidden> wrote:
On Mon, Jun 19, 2006 at 10:55:37AM -0600, Shaun Jackman wrote:
> I'm seeing the following error when attempting to compile monotone 0.27.
>
>       cmd_automate.cc:128: error: using-declaration for non-member at
>       class scope
>
> I'm using GCC 4.0.3 (Debian 4:4.0.3-4) and boost 1.32.0 (Debian
> 1.32.0-6). I haven't looked into this too closely yet, but does anyone
> have any obvious suggestions?

This appears to be the same as:
  https://savannah.nongnu.org/bugs/?func=detailitem&item_id=16866

I've committed the fix suggested there to mainline (it's trivial and
you can just make the change locally, if you want -- just add #include
<boost/function.hpp> towards the top of cmd_automate.cc).  I haven't
tested it or anything, though, because I don't have boost 1.32.0 --
does that fix work for you?

Yes, this fix works. Thank you, Nathan. I assume then that this patch
is not necessary with boost 1.33.0. My system is mostly Debian Sarge
-- with a few cherry-picked upgrades -- which is showing its age.
Thanks for the help.

Cheers,
Shaun




reply via email to

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