Bug#844858: oggvideotools: FTBFS: decoderTest.cpp:19:41: error: 'memset' was not declared in this scope
j at mailb.org
j at mailb.org
Sun Nov 27 21:35:55 UTC 2016
On 11/19/2016 08:48 AM, Petter Reinholdtsen wrote:
> [Lucas Nussbaum]
>> During a rebuild of all packages in sid, your package failed to build on
>> amd64.
>
> Thanks for noticing. Look like the compiler changed the system header
> in some way. memset() is found in <string.h>, according to its manual
> page.
>
src/base/test/decoderTest.cpp does not import string.h.
looks like the build works if you add #include <cstring> to
src/base/test/decoderTest.cpp.
--- oggvideotools-0.9.1.orig/src/base/test/decoderTest.cpp
+++ oggvideotools-0.9.1/src/base/test/decoderTest.cpp
@@ -4,6 +4,7 @@
·
#include "oggDecoder.h"
#include <vector>
+#include <cstring>
#include <iostream>
·
int main(int argc, char* argv[])
More information about the pkg-xiph-maint
mailing list