Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225927 - media-gfx/iscan-2.11.0 w/ gcc-4.3 : error: ‘memcpy’ was not declared in this scope
Summary: media-gfx/iscan-2.11.0 w/ gcc-4.3 : error: ‘memcpy’ was not declared in this ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-11 15:29 UTC by Andrzej Rybczak
Modified: 2008-06-29 10:41 UTC (History)
0 users

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


Attachments
fix for compilation issue (iscan-gcc43-fix.patch,249 bytes, patch)
2008-06-11 15:30 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: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>.
+