Update to allow clang to compile in-place build
Also update gitignore for in-place files
BUG=None
TEST=touchtests compiles and runs correctly
Change-Id: Ifdc4c7886005fa91a2665a6078d27b1f1032d188
Reviewed-on: https://chromium-review.googlesource.com/912234
Commit-Ready: Sean O'Brien <seobrien@chromium.org>
Tested-by: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
diff --git a/.gitignore b/.gitignore
index d49952f..b248432 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
html/*
obj/*
test
+in-place
diff --git a/Makefile b/Makefile
index a4ec85f..f41864b 100644
--- a/Makefile
+++ b/Makefile
@@ -111,7 +111,6 @@
-fno-strict-aliasing \
-fPIC \
-Wall \
- -Wclobbered \
-Wempty-body \
-Werror \
-Wignored-qualifiers \
diff --git a/src/gestures.cc b/src/gestures.cc
index 8eca2d0..85715f9 100644
--- a/src/gestures.cc
+++ b/src/gestures.cc
@@ -647,4 +647,6 @@
const GestureSwipe kGestureSwipe = { 0, 0, 0, 0 };
const GestureFourFingerSwipe kGestureFourFingerSwipe = { 0, 0, 0, 0 };
const GesturePinch kGesturePinch = { 0, 0, 0 };
+const GestureSwipeLift kGestureSwipeLift = { };
+const GestureFourFingerSwipeLift kGestureFourFingerSwipeLift = { };
const GestureMetrics kGestureMetrics = { kGestureMetricsTypeUnknown, {0, 0} };