mm_longcheng
mm_longcheng
APP_STL := gnustl_shared gnustl 4.9 ``` #if __cplusplus >= 201103L #ifdef _GLIBCXX_USE_C99_MATH_TR1 #undef hypot #undef hypotf #undef hypotl constexpr float hypot(float __x, float __y) { return __builtin_hypotf(__x, __y); } constexpr...
Android.mk ``` LOCAL_PATH := $(call my-dir) MM_MAKE_HOME ?= $(MM_HOME)/mm-make include $(CLEAR_VARS) include $(LOCAL_PATH)/libImath_static.mk include $(LOCAL_PATH)/libImath_shared.mk ``` Application.mk ``` APP_ABI := arm64-v8a armeabi-v7a # armeabi APP_STL := gnustl_shared APP_MODULES += libImath_static...
ndk-r15b target=android-21 math.h ``` #if __ISO_C_VISIBLE >= 1999 long double acoshl(long double); #endif /* __ISO_C_VISIBLE >= 1999 */ ``` [armeabi-v7a] The following configuration can compile correctly. ``` APP_STL := gnustl_shared...
> @mm-longcheng Does this mean the issue is resolved? Or is there a preprocessor definition that can be used to guard the hypot function to allow it to compile on...
``` IMATH_HOSTDEVICE IMATH_DEPRECATED("use std::math functions") // static T hypot (T x, T y) { return std::hypot (x, y); } static T hypot (T x, T y) { return std::sqrt(x *...
I noticed that the tokens in the parsing process must be a continuous array, so once the expanding occurs, is it must to copy the token data? There seems to...