Menu

#11 Boost library issues/failure to compile with newer GCC

v2.3.1
open
nobody
5
2010-01-09
2010-01-09
Anonymous
No

g++ -g -O2 -Wall -I./libs -DHAVE_CONFIG_H -DBOOST_DISABLE_THREADS -DLOGDIR=\"/ho me/atlantis/oomon/logs\" -DETCDIR=\"/home/oomon/oomon/etc\" -c action.cc
In file included from ./libs/boost/config.hpp:35,
from ./libs/boost/shared_ptr.hpp:18,
from action.h:29,
from action.cc:25:
./libs/boost/config/compiler/gcc.hpp:92:7: warning: #warning "Unknown compiler v ersion - please run the configure tests and report the results"
In file included from userflags.h:28,
from botclient.h:33,
from action.h:33,
from action.cc:25:
botexcept.h: In member function ‘std::string OOMon::errno_error::why() const’:
botexcept.h:60: error: ‘::strerror’ has not been declared
In file included from botclient.h:33,
from action.h:33,
from action.cc:25:
userflags.h: At global scope:
userflags.h:44: error: multiple parameters named ‘b’
In file included from action.cc:25:
action.h:85: error: explicit qualification in declaration of ‘boost::shared_ptr< Action::Nothing> Action::parse(BotClient*, std::string, const FormatSet&)’
./libs/boost/bind/placeholders.hpp:55: warning: ‘<unnamed>::_1’ defined but not used
./libs/boost/bind/placeholders.hpp:56: warning: ‘<unnamed>::_2’ defined but not used
./libs/boost/bind/placeholders.hpp:57: warning: ‘<unnamed>::_3’ defined but not used
./libs/boost/bind/placeholders.hpp:58: warning: ‘<unnamed>::_4’ defined but not used
./libs/boost/bind/placeholders.hpp:59: warning: ‘<unnamed>::_5’ defined but not used
./libs/boost/bind/placeholders.hpp:60: warning: ‘<unnamed>::_6’ defined but not used
./libs/boost/bind/placeholders.hpp:61: warning: ‘<unnamed>::_7’ defined but not used
./libs/boost/bind/placeholders.hpp:62: warning: ‘<unnamed>::_8’ defined but not used
./libs/boost/bind/placeholders.hpp:63: warning: ‘<unnamed>::_9’ defined but not used
make: *** [action.o] Error 1

Discussion


Log in to post a comment.