monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] cmd_automate.cc:128: error: using-declaration for non-m


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

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?

Thanks,
Shaun

g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.
-I./lua -I./sqlite   -DNDEBUG -DBOOST_DISABLE_THREADS
-DBOOST_SP_DISABLE_THREADS   -g -Wall -O2 -fno-strict-aliasing -Wall
-W -Wno-unused -DBOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
-DBOOST_REGEX_COMPILE_HPP -c -o mtn-cmd_automate.o `test -f
'cmd_automate.cc' || echo './'`cmd_automate.cc
In file included from /usr/include/boost/config.hpp:35,
                from /usr/include/boost/bind.hpp:23,
                from cmd_automate.cc:14:
/usr/include/boost/config/compiler/gcc.hpp:92:7: warning: #warning
"Unknown compiler version - please run the configure tests and report
the results"
cmd_automate.cc:128: error: using-declaration for non-member at class scope
cmd_automate.cc:128: error: expected ';' before '<' token
cmd_automate.cc:159: error: 'boost::function1' has not been declared
cmd_automate.cc:159: error: expected ',' or '...' before '<' token
cmd_automate.cc: In member function 'virtual std::streamsize
my_stringbuf::xsputn(const char*, std::streamsize)':
cmd_automate.cc:145: error: 'on_write' was not declared in this scope
cmd_automate.cc: In member function 'virtual int my_stringbuf::sync()':
cmd_automate.cc:154: error: 'on_write' was not declared in this scope
cmd_automate.cc: In member function 'void my_stringbuf::set_on_write(int)':
cmd_automate.cc:161: error: 'on_write' was not declared in this scope
cmd_automate.cc:161: error: 'x' was not declared in this scope
cmd_automate.cc: In member function 'virtual void
automation::auto_stdio::run(std::vector<utf8, std::allocator<utf8> >,
const std::string&, app_state&, std::ostream&) const':
cmd_automate.cc:263: error: no matching function for call to
'my_stringbuf::set_on_write(boost::_bi::bind_t<void, void (*)(int,
int, bool, const std::string&, std::ostream&, int&, int),
boost::_bi::list7<boost::_bi::value<int>,
boost::reference_wrapper<int>, boost::_bi::value<bool>,
boost::_bi::bind_t<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, boost::_mfi::cmf0<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::basic_stringbuf<char, std::char_traits<char>,
std::allocator<char> > >,
boost::_bi::list1<boost::_bi::value<my_stringbuf*> > >,
boost::reference_wrapper<std::basic_ostream<char,
std::char_traits<char> > >, boost::reference_wrapper<int>,
boost::arg<1> > >)'
cmd_automate.cc:159: note: candidates are: void my_stringbuf::set_on_write(int)
make[3]: *** [mtn-cmd_automate.o] Error 1
make[3]: Leaving directory `/home/sjackman/work/debian/monotone/monotone-0.27'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sjackman/work/debian/monotone/monotone-0.27'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sjackman/work/debian/monotone/monotone-0.27'
make: *** [debian/stamp-makefile-build] Error 2
debuild: fatal error at line 767:
dpkg-buildpackage failed!




reply via email to

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