summaryrefslogtreecommitdiff
path: root/include/ui/FramebufferNativeWindow.h
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2014-11-11 10:32:31 -0800
committer Dan Stoza <stoza@google.com> 2014-11-11 14:28:22 -0800
commitf10c46ef855b6410b20ebd8b1351d4d78d8eca8e (patch)
treece7ad7094fc9682b58a24ae6ba7770157204fc53 /include/ui/FramebufferNativeWindow.h
parentff8be8c267a3ad57678355bb472186cf52e8a2b2 (diff)
Enable clang for libui/libgui/surfaceflinger
Enables clang and C++11 for libui/libgui/surfaceflinger, and eliminates all compile-time warnings. Change-Id: Ie237fdb5ae44f2bfcddaa884f9c65ec3f08ae50f
Diffstat (limited to 'include/ui/FramebufferNativeWindow.h')
-rw-r--r--include/ui/FramebufferNativeWindow.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ui/FramebufferNativeWindow.h b/include/ui/FramebufferNativeWindow.h
index 5cd8101d30..6b66d5f66b 100644
--- a/include/ui/FramebufferNativeWindow.h
+++ b/include/ui/FramebufferNativeWindow.h
@@ -14,11 +14,13 @@
* limitations under the License.
*/
+#ifndef INCLUDED_FROM_FRAMEBUFFER_NATIVE_WINDOW_CPP
+#warning "FramebufferNativeWindow is deprecated"
+#endif
+
#ifndef ANDROID_FRAMEBUFFER_NATIVE_WINDOW_H
#define ANDROID_FRAMEBUFFER_NATIVE_WINDOW_H
-#warning "FramebufferNativeWindow is deprecated"
-
#include <stdint.h>
#include <sys/types.h>