Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681554 - media-sound/darkice-1.3: FaacEncoder.cpp:219:45: error: ‘memmove’ was not declared in this scope
Summary: media-sound/darkice-1.3: FaacEncoder.cpp:219:45: error: ‘memmove’ was not dec...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 16:06 UTC by ernsteiswuerfel
Modified: 2019-03-24 12:23 UTC (History)
0 users

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


Attachments
buil.log (darkice-1.3:20190323-155914.log,381.65 KB, text/plain)
2019-03-23 16:06 UTC, ernsteiswuerfel
Details
emerge --info (file_681554.txt,5.91 KB, text/plain)
2019-03-23 16:07 UTC, ernsteiswuerfel
Details
build.log (darkice-1.3:20190323-155914.log,381.65 KB, text/plain)
2019-03-23 16:07 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel 2019-03-23 16:06:33 UTC
Created attachment 570434 [details]
buil.log

Fails to build with USE='aac' if no other codecs are selected.

[ebuild   R   ] media-sound/darkice-1.3  USE="aac pulseaudio -aacplus -alsa -debug -jack -libsamplerate -mp3 -opus -twolame -vorbis"

[...]
FaacEncoder.cpp: In member function ‘virtual unsigned int FaacEncoder::write(const void*, unsigned int)’:
FaacEncoder.cpp:219:45: error: ‘memmove’ was not declared in this scope
                 resampledOffset = (short *) memmove(resampledOffset, &resampledOffset[processedSamples*channels],
                                             ^~~~~~~
FaacEncoder.cpp:219:45: note: ‘memmove’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
FaacEncoder.cpp:44:1:
+#include <cstring>
 
FaacEncoder.cpp:219:45:
                 resampledOffset = (short *) memmove(resampledOffset, &resampledOffset[processedSamples*channels],
                                             ^~~~~~~
FaacEncoder.cpp: At global scope:
FaacEncoder.cpp:252:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                                                             throw ( Exception )
                                                             ^~~~~
FaacEncoder.cpp:266:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 FaacEncoder :: close ( void )                           throw ( Exception )
                                                         ^~~~~
make[2]: *** [Makefile:836: darkice-FaacEncoder.o] Error 1
Comment 1 ernsteiswuerfel 2019-03-23 16:07:20 UTC
Created attachment 570436 [details]
emerge --info
Comment 2 ernsteiswuerfel 2019-03-23 16:07:41 UTC
Created attachment 570438 [details]
build.log