OSDN Git Service

Fix build for gcc.
authorChristopher Ferris <cferris@google.com>
Mon, 25 Jan 2016 22:36:34 +0000 (14:36 -0800)
committerChristopher Ferris <cferris@google.com>
Mon, 25 Jan 2016 22:36:34 +0000 (14:36 -0800)
commitf2b67b85f5e192812212d3176c07e195c0ffa503
treee2630c9e80cd0fa29601c63272663842a5a12e9c
parent63860cb8fd1adf3f679b9b4ad876323a8d65cd9d
Fix build for gcc.

Gcc doesn't like the brace object initialization, so make all of
the Feature objects explicit.

Also, no arguments to the error_log macros make gcc unhappy, so add
an option to turn these into warnings. These will be fixed when we
add the explicit _error and _warn log functions.

Change-Id: I35af834dabb5548923e893dd980a751fdebfa13a
libc/malloc_debug/Android.mk
libc/malloc_debug/Config.cpp