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
Initial thought is that it's for data.table to change so it works with all versions of zlib.h. Don't know yet whether the CRAN MacOS machine has an old version, or it's a particular version, or what.
I've emailed CRAN maintainers in case they know. @philippechataignon any inkling about z_const?
I find this link about creation of ZLIB_CONST option in zlib 8 years ago. When ZLIB_CONST option is set, z_const = const ; otherwise it's empty.
Found 3 commit in zlib git history:
2013-04-28 bddc968 Do not force Z_CONST for C++. madler@alumni.caltech.edu
2013-03-24 e9f0b78 Add casts and consts to ease user conversion to C++. madler@alumni.caltech.edu
2011-10-18 5ab9f47 Add #define ZLIB_CONST option to use const in the z_stream interface. madler@alumni.caltech.edu
In data.table case, I think we can remove z_const and only keep stream->next_in = (Bytef *)source;
The text was updated successfully, but these errors were encountered: