7c6c7f0b9f
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 |
||
---|---|---|
.. | ||
testdata | ||
Android.bp | ||
entry_name_utils-inl.h | ||
entry_name_utils_test.cc | ||
zip_archive.cc | ||
zip_archive_common.h | ||
zip_archive_private.h | ||
zip_archive_stream_entry.cc | ||
zip_archive_test.cc | ||
zip_writer.cc | ||
zip_writer_test.cc |