Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225923 - dev-libs/ibpp compilation fails with gcc-4.3
Summary: dev-libs/ibpp compilation fails with gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-11 15:23 UTC by Andrzej Rybczak
Modified: 2008-06-11 22:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix for compilation issue (ibpp-gcc43-fix.patch,242 bytes, patch)
2008-06-11 15:24 UTC, Andrzej Rybczak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.