summaryrefslogtreecommitdiffstats
path: root/libs/ui/UiConfig.cpp
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2014-11-17 12:03:59 -0800
committerDan Stoza <stoza@google.com>2014-12-01 11:43:52 -0800
commit303b9a51239d36d237a7d40c67b5085cdb3c1059 (patch)
tree98c87d5810f7002c3a5bddef5c05bf1f17d70724 /libs/ui/UiConfig.cpp
parent456d35b34ff4303e428a904aef7540d3e6c4e72b (diff)
downloadframeworks_native-303b9a51239d36d237a7d40c67b5085cdb3c1059.zip
frameworks_native-303b9a51239d36d237a7d40c67b5085cdb3c1059.tar.gz
frameworks_native-303b9a51239d36d237a7d40c67b5085cdb3c1059.tar.bz2
libui: Enable -Weverything and -Werror
Enables -Weverything and -Werror, with just a few exceptions for warnings we can't (or shouldn't need to) work around. Change-Id: I470a267e9b1c373f2d5c960f005c3b0e02b2db63
Diffstat (limited to 'libs/ui/UiConfig.cpp')
-rw-r--r--libs/ui/UiConfig.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ui/UiConfig.cpp b/libs/ui/UiConfig.cpp
index 8b2130e..9e7ba8e 100644
--- a/libs/ui/UiConfig.cpp
+++ b/libs/ui/UiConfig.cpp
@@ -18,8 +18,11 @@
namespace android {
+#ifdef FRAMEBUFFER_FORCE_FORMAT
+// We need the two-level macro to stringify the contents of a macro argument
#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)
+#endif
void appendUiConfigString(String8& configStr)
{