bson-cpp icon indicating copy to clipboard operation
bson-cpp copied to clipboard

suse 11 compile fix

Open matenghakuna opened this issue 12 years ago • 0 comments

Target: x86_64-suse-linux gcc version 4.3.4

file: build\Makefile AM_CPPFLAGS = -O0 -Wall -ggdb -Isrc $(BOOST_CPPFLAGS) <> AM_CPPFLAGS = -O0 -Wall -Werror -ggdb -Isrc $(BOOST_CPPFLAGS)

LDADD = $(BOOST_THREAD_LIBS) libbsoncpp.la -lboost_system <> LDADD = $(BOOST_THREAD_LIBS) libbsoncpp.la -lboost_system-mt

file: lib\base64.h

include <string.h> <> #include

file: lib\nonce.cpp _devrandom = new std::ifstream("/dev/urandom", ios::binary|ios::in); <> _devrandom = new ifstream("/dev/urandom", ios::binary|ios::in);

file: lib\nonce.h

include< fstream >

using namespace std;

matenghakuna avatar Aug 09 '11 12:08 matenghakuna