OSDN Git Service

Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]
authorJesse Hall <jessehall@google.com>
Sun, 13 Jul 2014 21:37:16 +0000 (14:37 -0700)
committerJesse Hall <jessehall@google.com>
Mon, 14 Jul 2014 19:18:00 +0000 (12:18 -0700)
commit24cd98eef88ac93f80c327f8d74f0a1ae0aceee4
tree3212add7072f7391b2e76f15751e960ebec902a1
parent652c485467598240ecbb3a60516ad1140eddfab1
Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]

This is necessary to use C11/C++11 stdlib atomics, which the next
change will do. This change also fixes a couple bits of syntax that
both GCC and Clang refuse to compile in -std=c++11 mode.

Change-Id: Ia14d9d6b537a3bb106c23e19a277e48be180754c
services/surfaceflinger/Android.mk
services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp
services/surfaceflinger/SurfaceFlinger.cpp