FAILED: /bin/bash -c
"(prebuilts/clang/host/darwin-x86/clang-2690385/bin/clang++ -I
frameworks/base/tools/validatekeymaps -I
out/host/darwin-x86/obj/EXECUTABLES/validatekeymaps_intermediates -I
out/host/darwin-x86/gen/EXECUTABLES/validatekeymaps_intermediates -I
libnativehelper/include/nativehelper \$(cat
out/host/darwin-x86/obj/EXECUTABLES/validatekeymaps_intermediates/import_includes)
-isystem system/core/include -isystem system/media/audio/include -isystem
hardware/libhardware/include -isystem hardware/libhardware_legacy/include
-isystem hardware/ril/include -isystem libnativehelper/include -isystem
frameworks/native/include -isystem frameworks/native/opengl/include
-isystem frameworks/av/include -isystem frameworks/base/include -isystem
tools/include -isystem out/host/darwin-x86/obj/include -c
-fno-exceptions -Wno-multichar -m64 -D__STDC_FORMAT_MACROS
-D__STDC_CONSTANT_MACROS -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -fPIC
-funwind-tables -DANDROID -fmessage-length=0 -W -Wall -Wno-unused
-Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG
-D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion
-Wno-reserved-id-macro -Wno-format-pedantic
-Wno-unused-command-line-argument -fcolor-diagnostics -integrated-as
-fstack-protector-strong -integrated-as -target x86_64-apple-darwin
-isystem
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
-Wsign-promo -Wno-inconsistent-missing-override -target
x86_64-apple-darwin -Wall -Werror -fpie -D_USING_LIBCXX -std=gnu++14
-nostdinc++ -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
-Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
-MD -MF
out/host/darwin-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.d -o
out/host/darwin-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.o
frameworks/base/tools/validatekeymaps/Main.cpp ) && (cp
out/host/darwin-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.d
out/host/darwin-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.P;
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e
's/\$/ :/' <
out/host/darwin-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.d >>
out/host/darwin-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.P;
rm -f
out/host/darwin-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.d )"
In file included from frameworks/base/tools/validatekeymaps/Main.cpp:17:
In file included from frameworks/native/include/input/KeyCharacterMap.h:26:
In file included from frameworks/native/include/input/Input.h:27:
system/core/include/utils/RefBase.h:183:18: error: no type named
'__c11_atomic_thread_fence' in namespace 'std'
std::atomic_thread_fence(std::memory_order_acquire);
~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/include/stdatomic.h:78:36:
note: expanded from macro 'atomic_thread_fence'
#define atomic_thread_fence(order) __c11_atomic_thread_fence(order)
^
In file included from frameworks/base/tools/validatekeymaps/Main.cpp:17:
In file included from frameworks/native/include/input/KeyCharacterMap.h:26:
In file included from frameworks/native/include/input/Input.h:27:
system/core/include/utils/RefBase.h:183:43: error: definition or
redeclaration of 'memory_order_acquire' not allowed inside a function
std::atomic_thread_fence(std::memory_order_acquire);
~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/include/stdatomic.h:78:62:
note: expanded from macro 'atomic_thread_fence'
#define atomic_thread_fence(order) __c11_atomic_thread_fence(order)
^~~~~
2 errors generated.
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.