Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494164 - www-client/firefox-26.0 - .../work/mozilla-release/gfx/layers/BufferUnrotate.cpp:34:60: error: 'memcpy' was not declared in this scope
Summary: www-client/firefox-26.0 - .../work/mozilla-release/gfx/layers/BufferUnrotate....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS, PATCH
Depends on:
Blocks:
 
Reported: 2013-12-13 17:12 UTC by Jeroen Roovers (RETIRED)
Modified: 2013-12-16 20:19 UTC (History)
1 user (show)

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


Attachments
let's #include <string.h> for memcpy() and memmove() (firefox-26.0-string.h.patch,368 bytes, patch)
2013-12-13 17:12 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2013-12-13 17:12:03 UTC
Created attachment 365238 [details, diff]
let's #include <string.h> for memcpy() and memmove()

hppa2.0-unknown-linux-gnu-g++ -o BufferUnrotate.o -c  -fvisibility=hidden -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
  -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -DOS_POSIX=1 -DOS_LINUX=1  -I/var/tmp/portage/www-client/firefox-26.0/work/mozilla
-release/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/content/events/src -I/frameworks/base/include/media/stagefright -I/fra
meworks/base/include/media/stagefright/openmax -I/frameworks/av/include/media/stagefright -I/frameworks/native/include/media/openmax
  -I/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/gfx/layers -I. -I../../dist/include  -I/usr/include/nspr -I/usr/in
clude/nss      -fPIC   -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/BufferUnrotate.o.pp  -Wall -Wpointer-arith
 -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -mschedule=8000 -march=2.0
 -ggdb -Wall -pipe -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDE
BUG -DTRIMMED -O0 -fomit-frame-pointer -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixma
n-1 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/libpng15   -I/usr/include/cai
ro -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/
directfb -I/usr/include/libdrm -I/usr/include/libpng15   -I/usr/include/pixman-1   -I/var/tmp/portage/www-client/firefox-26.0/work/m
ozilla-release/widget/gtk2/compat -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/gt
k-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -D_R
EENTRANT -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/gli
b-2.0/include -I/usr/include/libpng15    /var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/gfx/layers/BufferUnrotate.cpp
CanvasClient.o
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/gfx/layers/BufferUnrotate.cpp: In function 'void BufferUnrotate(uint8_t*, int, int, int, int, int)':
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/gfx/layers/BufferUnrotate.cpp:34:60: error: 'memcpy' was not declared in this scope
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/gfx/layers/BufferUnrotate.cpp:35:86: error: 'memmove' was not declared in this scope
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/gfx/layers/BufferUnrotate.cpp:57:77: error: 'memcpy' was not declared in this scope
/var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/gfx/layers/BufferUnrotate.cpp:58:90: error: 'memmove' was not declared in this scope
distcc[12597] ERROR: compile /var/tmp/portage/www-client/firefox-26.0/work/mozilla-release/gfx/layers/BufferUnrotate.cpp on localhost failed
make[5]: *** [BufferUnrotate.o] Error 1
Comment 1 Jory A. Pratt gentoo-dev 2013-12-15 14:45:16 UTC
Why is there no emerge info here?
Comment 2 Jory A. Pratt gentoo-dev 2013-12-16 20:19:04 UTC
Thanks for reporting, I have updated patchset and pushed updated ebuild to tree.