dev-libs/ibpp fails with gcc-4.3 due to missing includes: libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I./fbheaders -DIBPP_GCC -DIBPP_LINUX -O2 -march=native -pipe -fomit-frame-pointer -ftree-vectorize -fno-ident -MT array.lo -MD -MP -MF .deps/array.Tpo -c array.cpp -fPIC -DPIC -o .libs/array.o libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I./fbheaders -DIBPP_GCC -DIBPP_LINUX -O2 -march=native -pipe -fomit-frame-pointer -ftree-vectorize -fno-ident -MT blob.lo -MD -MP -MF .deps/blob.Tpo -c blob.cpp -fPIC -DPIC -o .libs/blob.o blob.cpp: In member function ‘void ibpp_internals::BlobImpl::SetId(ISC_QUAD*)’: blob.cpp:299: error: ‘memcpy’ was not declared in this scope blob.cpp: In member function ‘void ibpp_internals::BlobImpl::GetId(ISC_QUAD*)’: blob.cpp:312: error: ‘memcpy’ was not declared in this scope array.cpp: In member function ‘virtual void ibpp_internals::ArrayImpl::ReadTo(IBPP::ADT, void*, int)’: array.cpp:227: error: ‘strncpy’ was not declared in this scope array.cpp:252: error: ‘strlen’ was not declared in this scope array.cpp:254: error: ‘strncpy’ was not declared in this scope make[2]: *** [blob.lo] Błąd 1 make[2]: *** Oczekiwanie na niezakończone zadania.... array.cpp: In member function ‘virtual void ibpp_internals::ArrayImpl::WriteFrom(IBPP::ADT, const void*, int)’: array.cpp:566: error: ‘strlen’ was not declared in this scope array.cpp:568: error: ‘strncpy’ was not declared in this scope array.cpp:593: error: ‘strlen’ was not declared in this scope array.cpp:595: error: ‘strncpy’ was not declared in this scope array.cpp: In member function ‘void ibpp_internals::ArrayImpl::SetId(ISC_QUAD*)’: array.cpp:948: error: ‘memcpy’ was not declared in this scope array.cpp: In member function ‘void ibpp_internals::ArrayImpl::GetId(ISC_QUAD*)’: array.cpp:957: error: ‘memcpy’ was not declared in this scope array.cpp: In member function ‘void ibpp_internals::ArrayImpl::ResetId()’: array.cpp:962: error: ‘memset’ was not declared in this scope Reproducible: Always Steps to Reproduce:
Created attachment 156381 [details, diff] fix for compilation issue
thanks, fixed.