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

Bug 225927

Summary: media-gfx/iscan-2.11.0 w/ gcc-4.3 : error: ‘memcpy’ was not declared in this scope
Product: Gentoo Linux Reporter: Andrzej Rybczak <electricityispower>
Component: [OLD] GCC PortingAssignee: Stefan Briesenick (RETIRED) <sbriesen>
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:29:47 UTC
media-gfx/iscan fails with gcc-4.3 due to missing headers:

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/sane  -I../include -I../non-free -DLOCALEDIR=\"/usr/share/locale\"  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gimp-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -O2 -march=native -pipe -fomit-frame-pointer -ftree-vectorize -fno-ident -D_GNU_SOURCE -MT iscan-pisa_main_window.o -MD -MP -MF ".deps/iscan-pisa_main_window.Tpo" -c -o iscan-pisa_main_window.o `test -f 'pisa_main_window.cc' || echo './'`pisa_main_window.cc; \
	then mv -f ".deps/iscan-pisa_main_window.Tpo" ".deps/iscan-pisa_main_window.Po"; else rm -f ".deps/iscan-pisa_main_window.Tpo"; exit 1; fi
In file included from pisa_main.cc:39:
pisa_view_manager.h: In member function ‘void view_manager::set_image_type(const imagetype*)’:
pisa_view_manager.h:199: error: ‘memcpy’ was not declared in this scope
make[2]: *** [iscan-pisa_main.o] Błąd 1


Reproducible: Always

Steps to Reproduce:
Comment 1 Andrzej Rybczak 2008-06-11 15:30:20 UTC
Created attachment 156385 [details, diff]
fix for compilation issue
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-29 10:41:43 UTC
+  29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/iscan-2.11.0-gcc43.patch, iscan-2.11.0.ebuild:
+  Fix for gcc-4.3. Thanks to unK <electricityispower@gmail.com>.
+