[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] on make, problem building mtn-cmd_list.o
From: |
Matt Johnston |
Subject: |
Re: [Monotone-devel] on make, problem building mtn-cmd_list.o |
Date: |
Wed, 25 Oct 2006 00:22:23 +0800 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Tue, Oct 24, 2006 at 10:19:00AM -0600, Nathan Fain wrote:
> configure ran without issue but on make i get the following problem:
>
> if g++ -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.
> -I./lua -I./sqlite -DNDEBUG -DBOOST_DISABLE_THREADS
> -DBOOST_SP_DISABLE_THREADS -g -O2 -Wall -W -Wno-unused
> -fno-strict-aliasing -MT mtn-cmd_list.o -MD -MP -MF ".deps/mtn-cmd_list.Tpo"
> -c -o mtn-cmd_list.o `test -f 'cmd_list.cc' || echo './'`cmd_list.cc; \
> then mv -f ".deps/mtn-cmd_list.Tpo" ".deps/mtn-cmd_list.Po"; else rm -f
> ".deps/mtn-cmd_list.Tpo"; exit 1; fi
> cmd_list.cc: In member function `virtual std::string
> commands::cmd_ls::desc()':
> cmd_list.cc:506: error: use of namespace `std' as expression
> cmd_list.cc:506: error: syntax error before `:' token
> cmd_list.cc:506: error: `result' undeclared (first use this function)
> cmd_list.cc:506: error: (Each undeclared identifier is reported only once
> for
> each function it appears in.)
> make[2]: *** [mtn-cmd_list.o] Error 1
> make[2]: Leaving directory `monotone-0.30'
>
>
> I am using gcc version 3.3.5 20050117 (prerelease) (SUSE Linux 9.3)
There's a bug in the 0.30 release (since fixed), in
cmd.hh line 210 it should be std::string rather than
std:string.
Matt