You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
guetzli.cc
guetzli/guetzli.cc: In function ‘bool {anonymous}::ReadPNG(FILE*, int*, int*, std::vector<unsigned char>*)’:
guetzli/guetzli.cc:119:45: error: ‘memcpy’ was not declared in this scope
memcpy(row_out, row_in, 3 * (*xsize));
^
guetzli/guetzli.cc: In function ‘int main(int, char**)’:
guetzli/guetzli.cc:221:68: error: ‘memcmp’ was not declared in this scope
memcmp(in_data.data(), kPNGMagicBytes, sizeof(kPNGMagicBytes)) == 0) {
^
guetzli.make:165: recipe for target 'obj/Release/guetzli.o' failed
make[1]: *** [obj/Release/guetzli.o] Error 1
Makefile:28: recipe for target 'guetzli' failed
make: *** [guetzli] Error 2
The text was updated successfully, but these errors were encountered:
shrx
added a commit
to shrx/guetzli
that referenced
this issue
Jan 12, 2017
Building with gcc 6,
make
fails with:The text was updated successfully, but these errors were encountered: