mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Assorted compiler warnings/errors #86
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jeroen on GitHub (Jan 24, 2016).
Some compiler warnings:
gcc with c++98 on Fedora
clang on Fedora
Solaris Studio 12.3
gcc 4.6.3 on Windows
Solaris
Lots of these: https://www.r-project.org/nosvn/R.check/r-patched-solaris-x86/brotli-00install.html
@eustas commented on GitHub (Jan 25, 2016):
Thank you for your research and report. We are going to fix those warnings soon.
@jeroen commented on GitHub (Jan 25, 2016):
Thank you. Let me know if I can help test something.
Full build logs are here by the way: https://cran.r-project.org/web/checks/check_results_brotli.html
@jeroen commented on GitHub (Feb 2, 2016):
Any updates? Need to fix these issues downstream...
@kazuho commented on GitHub (Feb 29, 2016):
FWIW this causes compile error on FreeBSD 10 (ref: https://github.com/h2o/h2o/issues/815).
@eustas commented on GitHub (Feb 29, 2016):
Ooops. We've fixed this in internal repo, but still hasn't publised the fix. Going to do it ASAP.
@eustas commented on GitHub (Feb 29, 2016):
PR #323
@eustas commented on GitHub (Feb 29, 2016):
Hi. Could you check again (PR #323 just landed).
@jeroen commented on GitHub (Feb 29, 2016):
Still getting a warning in C++98:
And:
@eustas commented on GitHub (Feb 29, 2016):
The decoder thing seems to be easy to fix.
But brotli doesn't have a macro "length". Do you know where it is defined?
@jeroen commented on GitHub (Feb 29, 2016):
Oh that might be in my bindings actually. Sorry for that...
@eustas commented on GitHub (Feb 29, 2016):
No worries, we are going to try to decouple our header files, so embedder code doesn't reach hash.h from encode.h
@jeroen commented on GitHub (Feb 29, 2016):
Thanks yes I was including a header file before brotli which apparently had a
length()macro. Not sure if there is a sensible way to avoid such problems.I am opening a separate issue for Solaris problems.
@eustas commented on GitHub (Jun 16, 2016):
Hey, we've updated encoder recently -> many problems should be fixed by now.
If not, feel free to reopen the issue.