OSDN Git Service

Work around clang/llvm compilation problems.
authorChih-Hung Hsieh <chh@google.com>
Mon, 4 May 2015 19:12:39 +0000 (12:12 -0700)
committerChih-Hung Hsieh <chh@google.com>
Thu, 7 May 2015 23:12:09 +0000 (16:12 -0700)
commit4b04b8d4da2cb2e73baf3467bacb4b329aa3bbd1
tree928bc18a9fa77bdd4aadc5fc8603c9853e6d3dc0
parentfa5fec7c98ff3c56bd825bc51a1d28bdc3bad0bb
Work around clang/llvm compilation problems.

These patches will allow us to compile the whole AOSP with clang/llvm
before all the following problems are fixed.
* Suppress warnings on unused variables.
  * Remove unused static variables.
* Use only gcc to compile code that requires gcc atomic functions.
  They should be converted to standard atomic functions later.
* Suppress warnings on redefined typedefs.

BUG: 20765701
Change-Id: Ib1d6e2ef86c255ba87c1d51f9fdeabe5c8de2ada
(cherry picked from commit 23546918662bba21937c4f8fb4c3373588710b5c)
btcore/Android.mk
btcore/test/counter_test.cpp
hci/test/hci_layer_test.cpp
osi/Android.mk
test/suite/cases/gatt.c
test/suite/cases/rfcomm.c