You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compile error when using clang and precompiled headers #16
Activity
DoDoENT commentedon Mar 14, 2016
It appears this can be fixed by adding following line to
$NDK_DIR/build/core/build-binary.mk:Around line 440, below comment
#Build PCHand above$(call compile-cpp-source,$(LOCAL_PCH),$(LOCAL_BUILT_PCH).gch)add this line:LOCAL_SRC_FILES_TARGET_CFLAGS.$(LOCAL_PCH) += -x c++-headerDanAlbert commentedon Mar 14, 2016
Thanks again! Added a test case and uploaded for review: https://android-review.googlesource.com/208223
Silence clang's whining for PCH files.