We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I tried building this software on windows 10 with msys and mingw64. The following warnings occur during build time:
$ make all cc -Izopfli \ woff.c sfnt2woff.c -o sfnt2woff-zopfli \ zopfli/blocksplitter.c zopfli/cache.c zopfli/deflate.c zopfli/gzip_container.c zopfli/hash.c zopfli/katajainen.c zopfli/lz77.c zopfli/squeeze.c zopfli/tree.c zopfli/util.c zopfli/zlib_container.c zopfli/zopfli_lib.c -lz -lm woff.c: In function 'woffEncode': woff.c:291:113: warning: passing argument 6 of 'ZopfliCompress' from incompatible pointer type [-Win compatible-pointer-types] 291 | ZopfliCompress(&options, ZOPFLI_FORMAT_ZLIB, (const uint8_t *) (sfntData + sourceOffset) , sourceLen, &dest, &destLen); | ^~~~~~~~ | | | uLong * {aka long unsigned int *} In file included from woff.c:45: zopfli/zopfli.h:91:50: note: expected 'size_t *' {aka 'long long unsigned int *'} but argument is of type 'uLong *' {aka 'long unsigned int *'} 91 | unsigned char** out, size_t* outsize); | ~~~~~~~~^~~~~~~ woff.c: In function 'woffSetMetadata': woff.c:551:98: warning: passing argument 6 of 'ZopfliCompress' from incompatible pointer type [-Winc ompatible-pointer-types] 551 | ZopfliCompress(&options, ZOPFLI_FORMAT_ZLIB, (const uint8_t *) metaData, metaLen, &compD ata, &compLen); | ^~~~~~~~ | | | uLong * {aka long unsigned int *} zopfli/zopfli.h:91:50: note: expected 'size_t *' {aka 'long long unsigned int *'} but argument is of type 'uLong *' {aka 'long unsigned int *'} 91 | unsigned char** out, size_t* outsize); | ~~~~~~~~^~~~~~~ cc -Izopfli \ woff.c woff2sfnt.c -o woff2sfnt-zopfli \ zopfli/blocksplitter.c zopfli/cache.c zopfli/deflate.c zopfli/gzip_container.c zopfli/hash.c zopfli/katajainen.c zopfli/lz77.c zopfli/squeeze.c zopfli/tree.c zopfli/util.c zopfli/zlib_container.c zopfli/zopfli_lib.c -lz -lm woff.c: In function 'woffEncode': woff.c:291:113: warning: passing argument 6 of 'ZopfliCompress' from incompatible pointer type [-Win compatible-pointer-types] 291 | ZopfliCompress(&options, ZOPFLI_FORMAT_ZLIB, (const uint8_t *) (sfntData + sourceOffset) , sourceLen, &dest, &destLen); | ^~~~~~~~ | | | uLong * {aka long unsigned int *} In file included from woff.c:45: zopfli/zopfli.h:91:50: note: expected 'size_t *' {aka 'long long unsigned int *'} but argument is of type 'uLong *' {aka 'long unsigned int *'} 91 | unsigned char** out, size_t* outsize); | ~~~~~~~~^~~~~~~ woff.c: In function 'woffSetMetadata': woff.c:551:98: warning: passing argument 6 of 'ZopfliCompress' from incompatible pointer type [-Winc ompatible-pointer-types] 551 | ZopfliCompress(&options, ZOPFLI_FORMAT_ZLIB, (const uint8_t *) metaData, metaLen, &compD ata, &compLen); | ^~~~~~~~ | | | uLong * {aka long unsigned int *} zopfli/zopfli.h:91:50: note: expected 'size_t *' {aka 'long long unsigned int *'} but argument is of type 'uLong *' {aka 'long unsigned int *'} 91 | unsigned char** out, size_t* outsize); | ~~~~~~~~^~~~~~~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I tried building this software on windows 10 with msys and mingw64.
The following warnings occur during build time:
The text was updated successfully, but these errors were encountered: