platform_system_core/libziparchive
Colin Cross 7c6c7f0b9f Fix warnings in libziparchive
system/core/include is included in the global include path using
-isystem, which hides all warnings.  zlib.h is included through
system/core/include/ziparchive/zip_archive.h, which was hiding warnings
in it.  Use a #pragma around the call to deflateInit2, it is a macro
that expands to an old-style cast, in preparation for moving from
-isystem to -I.  Also move the ZipString constructor to zip_archive.cc
so it can assert on the length of the string parameter and fix an
implicit conversion from size_t to uint16_t.

Test: m -j native
Bug: 31492149
Change-Id: I74cdad7fe9c723859b5cfbea73c8f27d9d9ca265
2016-09-20 09:23:47 -07:00
..
testdata Add a ZipArchiveStreamEntry class. 2016-01-14 12:30:20 -08:00
Android.bp Convert libziparchive from Android.mk to Android.bp 2016-07-12 21:01:08 -07:00
entry_name_utils-inl.h Reject zip archives whose entry names are not valid UTF-8. 2014-12-08 12:25:05 +00:00
entry_name_utils_test.cc Reject zip archives whose entry names are not valid UTF-8. 2014-12-08 12:25:05 +00:00
zip_archive.cc Fix warnings in libziparchive 2016-09-20 09:23:47 -07:00
zip_archive_common.h Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
zip_archive_private.h Add a ZipArchiveStreamEntry class. 2016-01-14 12:30:20 -08:00
zip_archive_stream_entry.cc Fix google-explicit-constructor warnings. 2016-04-25 14:57:11 -07:00
zip_archive_test.cc libziparchive: port unit tests to darwin and windows. 2016-03-07 11:21:24 -08:00
zip_writer.cc Fix warnings in libziparchive 2016-09-20 09:23:47 -07:00
zip_writer_test.cc libziparchive: port unit tests to darwin and windows. 2016-03-07 11:21:24 -08:00