Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 225923

Summary: dev-libs/ibpp compilation fails with gcc-4.3
Product: Gentoo Linux Reporter: Andrzej Rybczak <electricityispower>
Component: [OLD] GCC PortingAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: fix for compilation issue

Description Andrzej Rybczak 2008-06-11 15:23:39 UTC
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:
Comment 1 Andrzej Rybczak 2008-06-11 15:24:30 UTC
Created attachment 156381 [details, diff]
fix for compilation issue
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2008-06-11 22:47:16 UTC
thanks, fixed.