diff options
author | Sharvil Nanavati <sharvil@google.com> | 2014-04-17 22:32:05 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2014-05-06 01:14:23 -0700 |
commit | 31fafe5d31a6dc88013fb7f02f6ef203426ce6c3 (patch) | |
tree | b5f2c6342a13d378153e8273277a9f673988bbc9 /Android.mk | |
parent | e5f886f7ef5ca055306d0883ec46fdb857a91059 (diff) | |
download | bluedroid-31fafe5d31a6dc88013fb7f02f6ef203426ce6c3.tar.gz |
Eliminate warnings, add -Wall and -Werror to all projects.
This change enables all warnings and treats warnings as errors. As
a result, nobody should be able to submit new code to bluedroid
that contains compiler warnings. Instead, they should fix the warnings
before submitting.
This change has already caught a type mismatch bug in
stack/avrc/avrc_api.c where an integer was being stored in a boolean.
Change-Id: Ic41960754b39a1a6aa37f1c1095003195f466183
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11,6 +11,8 @@ else bdroid_CFLAGS += -DHAS_NO_BDROID_BUILDCFG endif +bdroid_CFLAGS += -Wall -Werror + include $(call all-subdir-makefiles) # Cleanup our locals |