platform_system_core/include
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
..
android liblog: add __android_log_close() 2016-08-23 15:25:03 -07:00
backtrace Fix race condition updating local map data. 2016-06-16 23:28:11 -07:00
cutils Fix warnings in cutils/atomic.h 2016-09-15 19:22:32 -07:00
log logger: validate hdr_size field in logger entry 2016-08-23 14:51:50 -07:00
nativebridge LibNativeBridge: Version 2 2015-05-31 16:58:24 -07:00
private Add static UID for the webview zygote process. 2016-07-11 12:39:55 -04:00
system Add color mode enums 2016-09-08 11:39:32 -07:00
sysutils Revert "Sigh, more vendors linking against hidden APIs." 2015-03-20 23:51:36 +00:00
utils libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 2016-08-25 20:07:51 +00:00
ziparchive Fix warnings in libziparchive 2016-09-20 09:23:47 -07:00