g++ -m64 -O3 -g0 -nostdinc -fvisibility=hidden -fpie -ffunction-sections -fdata-sections -fstack-protector -IEnclave -I/home/yongqin/sgxsdk/include -I/home/yongqin/sgxsdk/include/tlibc -I/home/yongqin/sgxsdk/include/libcxx -IInclude -ISGXDNN -IInclude/eigen3_sgx -I/usr/lib/gcc/x86_64-linux-gnu/4.8.5/include  -std=c++11 -nostdinc++ -DUSE_SGX -DEIGEN_NO_CPUID -march=native -maes -DHHHHHHH -c Enclave/Enclave.cpp -o Enclave/Enclave.o
In file included from /home/yongqin/sgxsdk/include/libcxx/__hash_table:19:0,
                 from /home/yongqin/sgxsdk/include/libcxx/unordered_map:369,
                 from /home/yongqin/sgxsdk/include/dnnl.hpp:31,
                 from Enclave/layer.hpp:4,
                 from Enclave/Enclave.h:13,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/cmath:316:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:326:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:340:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:350:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:364:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:374:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:388:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:398:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:412:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:422:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:436:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:446:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:460:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:470:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:490:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:500:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:520:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:530:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:550:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:560:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:580:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:590:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:610:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:620:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘double std::__1::abs(double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:668:1: error: conflicting declaration of C function ‘double std::__1::abs(double)’
 abs(double __lcpp_x) _NOEXCEPT {return fabs(__lcpp_x);}
 ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:664:1: note: previous declaration ‘float std::__1::abs(float)’
 abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);}
 ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::abs(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:672:1: error: conflicting declaration of C function ‘long double std::__1::abs(long double)’
 abs(long double __lcpp_x) _NOEXCEPT {return fabsl(__lcpp_x);}
 ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:668:1: note: previous declaration ‘double std::__1::abs(double)’
 abs(double __lcpp_x) _NOEXCEPT {return fabs(__lcpp_x);}
 ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:672:1: error: conflicting declaration of C function ‘long double std::__1::abs(long double)’
 abs(long double __lcpp_x) _NOEXCEPT {return fabsl(__lcpp_x);}
 ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:664:1: note: previous declaration ‘float std::__1::abs(float)’
 abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);}
 ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::acos(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:684:46: error: conflicting declaration of C function ‘long double std::__1::acos(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __lcpp_x) _NOEXCEPT {return acosl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:683:46: note: previous declaration ‘float std::__1::acos(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return acosf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:687:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::asin(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:699:46: error: conflicting declaration of C function ‘long double std::__1::asin(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double asin(long double __lcpp_x) _NOEXCEPT {return asinl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:698:46: note: previous declaration ‘float std::__1::asin(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       asin(float __lcpp_x) _NOEXCEPT       {return asinf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:702:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::atan(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:714:46: error: conflicting declaration of C function ‘long double std::__1::atan(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double atan(long double __lcpp_x) _NOEXCEPT {return atanl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:713:46: note: previous declaration ‘float std::__1::atan(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       atan(float __lcpp_x) _NOEXCEPT       {return atanf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:717:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/__hash_table:19:0,
                 from /home/yongqin/sgxsdk/include/libcxx/unordered_map:369,
                 from /home/yongqin/sgxsdk/include/dnnl.hpp:31,
                 from Enclave/layer.hpp:4,
                 from Enclave/Enclave.h:13,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::atan2(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:729:46: error: conflicting declaration of C function ‘long double std::__1::atan2(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double atan2(long double __lcpp_y, long double __lcpp_x) _NOEXCEPT {return atan2l(__lcpp_y, __lcpp_x);}
                                              ^~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/__hash_table:19:0,
                 from /home/yongqin/sgxsdk/include/libcxx/unordered_map:369,
                 from /home/yongqin/sgxsdk/include/dnnl.hpp:31,
                 from Enclave/layer.hpp:4,
                 from Enclave/Enclave.h:13,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/cmath:728:46: note: previous declaration ‘float std::__1::atan2(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       atan2(float __lcpp_y, float __lcpp_x) _NOEXCEPT             {return atan2f(__lcpp_y, __lcpp_x);}
                                              ^~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/__hash_table:19:0,
                 from /home/yongqin/sgxsdk/include/libcxx/unordered_map:369,
                 from /home/yongqin/sgxsdk/include/dnnl.hpp:31,
                 from Enclave/layer.hpp:4,
                 from Enclave/Enclave.h:13,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:732:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::ceil(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:755:46: error: conflicting declaration of C function ‘long double std::__1::ceil(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double ceil(long double __lcpp_x) _NOEXCEPT {return ceill(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:754:46: note: previous declaration ‘float std::__1::ceil(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       ceil(float __lcpp_x) _NOEXCEPT       {return ceilf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:758:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::cos(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:770:46: error: conflicting declaration of C function ‘long double std::__1::cos(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double cos(long double __lcpp_x) _NOEXCEPT {return cosl(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:769:46: note: previous declaration ‘float std::__1::cos(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       cos(float __lcpp_x) _NOEXCEPT       {return cosf(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:773:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::cosh(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:785:46: error: conflicting declaration of C function ‘long double std::__1::cosh(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double cosh(long double __lcpp_x) _NOEXCEPT {return coshl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:784:46: note: previous declaration ‘float std::__1::cosh(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       cosh(float __lcpp_x) _NOEXCEPT       {return coshf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:788:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::exp(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:803:46: error: conflicting declaration of C function ‘long double std::__1::exp(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double exp(long double __lcpp_x) _NOEXCEPT {return expl(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:802:46: note: previous declaration ‘float std::__1::exp(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       exp(float __lcpp_x) _NOEXCEPT       {return expf(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:807:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::fabs(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:819:46: error: conflicting declaration of C function ‘long double std::__1::fabs(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double fabs(long double __lcpp_x) _NOEXCEPT {return fabsl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:818:46: note: previous declaration ‘float std::__1::fabs(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       fabs(float __lcpp_x) _NOEXCEPT       {return fabsf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:822:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::floor(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:834:46: error: conflicting declaration of C function ‘long double std::__1::floor(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double floor(long double __lcpp_x) _NOEXCEPT {return floorl(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:833:46: note: previous declaration ‘float std::__1::floor(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       floor(float __lcpp_x) _NOEXCEPT       {return floorf(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:837:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::fmod(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:851:46: error: conflicting declaration of C function ‘long double std::__1::fmod(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double fmod(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return fmodl(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:850:46: note: previous declaration ‘float std::__1::fmod(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       fmod(float __lcpp_x, float __lcpp_y) _NOEXCEPT             {return fmodf(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:854:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::frexp(long double, int*)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:878:46: error: conflicting declaration of C function ‘long double std::__1::frexp(long double, int*)’
 inline _LIBCPP_INLINE_VISIBILITY long double frexp(long double __lcpp_x, int* __lcpp_e) _NOEXCEPT {return frexpl(__lcpp_x, __lcpp_e);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:877:46: note: previous declaration ‘float std::__1::frexp(float, int*)’
 inline _LIBCPP_INLINE_VISIBILITY float       frexp(float __lcpp_x, int* __lcpp_e) _NOEXCEPT       {return frexpf(__lcpp_x, __lcpp_e);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:881:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::ldexp(long double, int)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:893:46: error: conflicting declaration of C function ‘long double std::__1::ldexp(long double, int)’
 inline _LIBCPP_INLINE_VISIBILITY long double ldexp(long double __lcpp_x, int __lcpp_e) _NOEXCEPT {return ldexpl(__lcpp_x, __lcpp_e);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:892:46: note: previous declaration ‘float std::__1::ldexp(float, int)’
 inline _LIBCPP_INLINE_VISIBILITY float       ldexp(float __lcpp_x, int __lcpp_e) _NOEXCEPT       {return ldexpf(__lcpp_x, __lcpp_e);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:896:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::log(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:910:46: error: conflicting declaration of C function ‘long double std::__1::log(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double log(long double __lcpp_x) _NOEXCEPT {return logl(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:909:46: note: previous declaration ‘float std::__1::log(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       log(float __lcpp_x) _NOEXCEPT       {return logf(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:913:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::log10(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:926:46: error: conflicting declaration of C function ‘long double std::__1::log10(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double log10(long double __lcpp_x) _NOEXCEPT {return log10l(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:925:46: note: previous declaration ‘float std::__1::log10(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       log10(float __lcpp_x) _NOEXCEPT       {return log10f(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:929:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::modf(long double, long double*)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:941:46: error: conflicting declaration of C function ‘long double std::__1::modf(long double, long double*)’
 inline _LIBCPP_INLINE_VISIBILITY long double modf(long double __lcpp_x, long double* __lcpp_y) _NOEXCEPT {return modfl(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:940:46: note: previous declaration ‘float std::__1::modf(float, float*)’
 inline _LIBCPP_INLINE_VISIBILITY float       modf(float __lcpp_x, float* __lcpp_y) _NOEXCEPT             {return modff(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::pow(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:954:46: error: conflicting declaration of C function ‘long double std::__1::pow(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return powl(__lcpp_x, __lcpp_y);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:953:46: note: previous declaration ‘float std::__1::pow(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       pow(float __lcpp_x, float __lcpp_y) _NOEXCEPT             {return powf(__lcpp_x, __lcpp_y);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:957:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::sin(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:980:46: error: conflicting declaration of C function ‘long double std::__1::sin(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double sin(long double __lcpp_x) _NOEXCEPT {return sinl(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:979:46: note: previous declaration ‘float std::__1::sin(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       sin(float __lcpp_x) _NOEXCEPT       {return sinf(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:983:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::sinh(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:995:46: error: conflicting declaration of C function ‘long double std::__1::sinh(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double sinh(long double __lcpp_x) _NOEXCEPT {return sinhl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:994:46: note: previous declaration ‘float std::__1::sinh(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       sinh(float __lcpp_x) _NOEXCEPT       {return sinhf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:998:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::sqrt(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1012:46: error: conflicting declaration of C function ‘long double std::__1::sqrt(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double sqrt(long double __lcpp_x) _NOEXCEPT {return sqrtl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1011:46: note: previous declaration ‘float std::__1::sqrt(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       sqrt(float __lcpp_x) _NOEXCEPT       {return sqrtf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1015:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::tan(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1028:46: error: conflicting declaration of C function ‘long double std::__1::tan(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double tan(long double __lcpp_x) _NOEXCEPT {return tanl(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1027:46: note: previous declaration ‘float std::__1::tan(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       tan(float __lcpp_x) _NOEXCEPT       {return tanf(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1031:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::tanh(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1043:46: error: conflicting declaration of C function ‘long double std::__1::tanh(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double tanh(long double __lcpp_x) _NOEXCEPT {return tanhl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1042:46: note: previous declaration ‘float std::__1::tanh(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       tanh(float __lcpp_x) _NOEXCEPT       {return tanhf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1046:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::acosh(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1058:46: error: conflicting declaration of C function ‘long double std::__1::acosh(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double acosh(long double __lcpp_x) _NOEXCEPT {return acoshl(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1057:46: note: previous declaration ‘float std::__1::acosh(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       acosh(float __lcpp_x) _NOEXCEPT       {return acoshf(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1060:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::asinh(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1073:46: error: conflicting declaration of C function ‘long double std::__1::asinh(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double asinh(long double __lcpp_x) _NOEXCEPT {return asinhl(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1072:46: note: previous declaration ‘float std::__1::asinh(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       asinh(float __lcpp_x) _NOEXCEPT       {return asinhf(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1075:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::atanh(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1088:46: error: conflicting declaration of C function ‘long double std::__1::atanh(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double atanh(long double __lcpp_x) _NOEXCEPT {return atanhl(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1087:46: note: previous declaration ‘float std::__1::atanh(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       atanh(float __lcpp_x) _NOEXCEPT       {return atanhf(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1090:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::cbrt(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1103:46: error: conflicting declaration of C function ‘long double std::__1::cbrt(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double cbrt(long double __lcpp_x) _NOEXCEPT {return cbrtl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1102:46: note: previous declaration ‘float std::__1::cbrt(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       cbrt(float __lcpp_x) _NOEXCEPT       {return cbrtf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1105:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::copysign(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1122:1: error: conflicting declaration of C function ‘long double std::__1::copysign(long double, long double)’
 copysign(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1117:40: note: previous declaration ‘float std::__1::copysign(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float copysign(float __lcpp_x,
                                        ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1127:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::erf(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1151:46: error: conflicting declaration of C function ‘long double std::__1::erf(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double erf(long double __lcpp_x) _NOEXCEPT {return erfl(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1150:46: note: previous declaration ‘float std::__1::erf(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       erf(float __lcpp_x) _NOEXCEPT       {return erff(__lcpp_x);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1153:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::erfc(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1164:46: error: conflicting declaration of C function ‘long double std::__1::erfc(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double erfc(long double __lcpp_x) _NOEXCEPT {return erfcl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1163:46: note: previous declaration ‘float std::__1::erfc(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       erfc(float __lcpp_x) _NOEXCEPT       {return erfcf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1166:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::exp2(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1177:46: error: conflicting declaration of C function ‘long double std::__1::exp2(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double exp2(long double __lcpp_x) _NOEXCEPT {return exp2l(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1176:46: note: previous declaration ‘float std::__1::exp2(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       exp2(float __lcpp_x) _NOEXCEPT       {return exp2f(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1179:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::expm1(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1190:46: error: conflicting declaration of C function ‘long double std::__1::expm1(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double expm1(long double __lcpp_x) _NOEXCEPT {return expm1l(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1189:46: note: previous declaration ‘float std::__1::expm1(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       expm1(float __lcpp_x) _NOEXCEPT       {return expm1f(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1192:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::fdim(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1203:46: error: conflicting declaration of C function ‘long double std::__1::fdim(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double fdim(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return fdiml(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1202:46: note: previous declaration ‘float std::__1::fdim(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       fdim(float __lcpp_x, float __lcpp_y) _NOEXCEPT             {return fdimf(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1205:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::fma(long double, long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1227:46: error: conflicting declaration of C function ‘long double std::__1::fma(long double, long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double fma(long double __lcpp_x, long double __lcpp_y, long double __lcpp_z) _NOEXCEPT {return fmal(__lcpp_x, __lcpp_y, __lcpp_z);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1226:46: note: previous declaration ‘float std::__1::fma(float, float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       fma(float __lcpp_x, float __lcpp_y, float __lcpp_z) _NOEXCEPT                   {return fmaf(__lcpp_x, __lcpp_y, __lcpp_z);}
                                              ^~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1229:1: error: template with C linkage
 template <class _A1, class _A2, class _A3>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::fmax(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1253:46: error: conflicting declaration of C function ‘long double std::__1::fmax(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double fmax(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return fmaxl(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1252:46: note: previous declaration ‘float std::__1::fmax(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       fmax(float __lcpp_x, float __lcpp_y) _NOEXCEPT             {return fmaxf(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1255:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::fmin(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1277:46: error: conflicting declaration of C function ‘long double std::__1::fmin(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double fmin(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return fminl(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1276:46: note: previous declaration ‘float std::__1::fmin(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       fmin(float __lcpp_x, float __lcpp_y) _NOEXCEPT             {return fminf(__lcpp_x, __lcpp_y);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1279:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::hypot(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1301:46: error: conflicting declaration of C function ‘long double std::__1::hypot(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double hypot(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return hypotl(__lcpp_x, __lcpp_y);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1300:46: note: previous declaration ‘float std::__1::hypot(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       hypot(float __lcpp_x, float __lcpp_y) _NOEXCEPT             {return hypotf(__lcpp_x, __lcpp_y);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1303:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘int std::__1::ilogb(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1325:38: error: conflicting declaration of C function ‘int std::__1::ilogb(long double)’
 inline _LIBCPP_INLINE_VISIBILITY int ilogb(long double __lcpp_x) _NOEXCEPT {return ilogbl(__lcpp_x);}
                                      ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1324:38: note: previous declaration ‘int std::__1::ilogb(float)’
 inline _LIBCPP_INLINE_VISIBILITY int ilogb(float __lcpp_x) _NOEXCEPT       {return ilogbf(__lcpp_x);}
                                      ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1327:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::lgamma(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1338:46: error: conflicting declaration of C function ‘long double std::__1::lgamma(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double lgamma(long double __lcpp_x) _NOEXCEPT {return lgammal(__lcpp_x);}
                                              ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1337:46: note: previous declaration ‘float std::__1::lgamma(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       lgamma(float __lcpp_x) _NOEXCEPT       {return lgammaf(__lcpp_x);}
                                              ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1341:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long long int std::__1::llrint(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1353:44: error: conflicting declaration of C function ‘long long int std::__1::llrint(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long long llrint(long double __lcpp_x) _NOEXCEPT {return llrintl(__lcpp_x);}
                                            ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1352:44: note: previous declaration ‘long long int std::__1::llrint(float)’
 inline _LIBCPP_INLINE_VISIBILITY long long llrint(float __lcpp_x) _NOEXCEPT       {return llrintf(__lcpp_x);}
                                            ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1355:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long long int std::__1::llround(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1366:44: error: conflicting declaration of C function ‘long long int std::__1::llround(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long long llround(long double __lcpp_x) _NOEXCEPT {return llroundl(__lcpp_x);}
                                            ^~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1365:44: note: previous declaration ‘long long int std::__1::llround(float)’
 inline _LIBCPP_INLINE_VISIBILITY long long llround(float __lcpp_x) _NOEXCEPT       {return llroundf(__lcpp_x);}
                                            ^~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1368:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::log1p(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1379:46: error: conflicting declaration of C function ‘long double std::__1::log1p(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double log1p(long double __lcpp_x) _NOEXCEPT {return log1pl(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1378:46: note: previous declaration ‘float std::__1::log1p(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       log1p(float __lcpp_x) _NOEXCEPT       {return log1pf(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1381:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::log2(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1392:46: error: conflicting declaration of C function ‘long double std::__1::log2(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double log2(long double __lcpp_x) _NOEXCEPT {return log2l(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1391:46: note: previous declaration ‘float std::__1::log2(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       log2(float __lcpp_x) _NOEXCEPT       {return log2f(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1394:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::logb(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1405:46: error: conflicting declaration of C function ‘long double std::__1::logb(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double logb(long double __lcpp_x) _NOEXCEPT {return logbl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1404:46: note: previous declaration ‘float std::__1::logb(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       logb(float __lcpp_x) _NOEXCEPT       {return logbf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1407:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long int std::__1::lrint(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1418:39: error: conflicting declaration of C function ‘long int std::__1::lrint(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long lrint(long double __lcpp_x) _NOEXCEPT {return lrintl(__lcpp_x);}
                                       ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1417:39: note: previous declaration ‘long int std::__1::lrint(float)’
 inline _LIBCPP_INLINE_VISIBILITY long lrint(float __lcpp_x) _NOEXCEPT       {return lrintf(__lcpp_x);}
                                       ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1420:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long int std::__1::lround(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1431:39: error: conflicting declaration of C function ‘long int std::__1::lround(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long lround(long double __lcpp_x) _NOEXCEPT {return lroundl(__lcpp_x);}
                                       ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1430:39: note: previous declaration ‘long int std::__1::lround(float)’
 inline _LIBCPP_INLINE_VISIBILITY long lround(float __lcpp_x) _NOEXCEPT       {return lroundf(__lcpp_x);}
                                       ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1433:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::nearbyint(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1457:46: error: conflicting declaration of C function ‘long double std::__1::nearbyint(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double nearbyint(long double __lcpp_x) _NOEXCEPT {return nearbyintl(__lcpp_x);}
                                              ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1456:46: note: previous declaration ‘float std::__1::nearbyint(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       nearbyint(float __lcpp_x) _NOEXCEPT       {return nearbyintf(__lcpp_x);}
                                              ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1459:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::nextafter(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1470:46: error: conflicting declaration of C function ‘long double std::__1::nextafter(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double nextafter(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return nextafterl(__lcpp_x, __lcpp_y);}
                                              ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1469:46: note: previous declaration ‘float std::__1::nextafter(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       nextafter(float __lcpp_x, float __lcpp_y) _NOEXCEPT             {return nextafterf(__lcpp_x, __lcpp_y);}
                                              ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1472:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::nexttoward(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1494:46: error: conflicting declaration of C function ‘long double std::__1::nexttoward(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double nexttoward(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return nexttowardl(__lcpp_x, __lcpp_y);}
                                              ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1493:46: note: previous declaration ‘float std::__1::nexttoward(float, long double)’
 inline _LIBCPP_INLINE_VISIBILITY float       nexttoward(float __lcpp_x, long double __lcpp_y) _NOEXCEPT       {return nexttowardf(__lcpp_x, __lcpp_y);}
                                              ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1496:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::remainder(long double, long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1507:46: error: conflicting declaration of C function ‘long double std::__1::remainder(long double, long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double remainder(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return remainderl(__lcpp_x, __lcpp_y);}
                                              ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1506:46: note: previous declaration ‘float std::__1::remainder(float, float)’
 inline _LIBCPP_INLINE_VISIBILITY float       remainder(float __lcpp_x, float __lcpp_y) _NOEXCEPT             {return remainderf(__lcpp_x, __lcpp_y);}
                                              ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1509:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::remquo(long double, long double, int*)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1531:46: error: conflicting declaration of C function ‘long double std::__1::remquo(long double, long double, int*)’
 inline _LIBCPP_INLINE_VISIBILITY long double remquo(long double __lcpp_x, long double __lcpp_y, int* __lcpp_z) _NOEXCEPT {return remquol(__lcpp_x, __lcpp_y, __lcpp_z);}
                                              ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1530:46: note: previous declaration ‘float std::__1::remquo(float, float, int*)’
 inline _LIBCPP_INLINE_VISIBILITY float       remquo(float __lcpp_x, float __lcpp_y, int* __lcpp_z) _NOEXCEPT             {return remquof(__lcpp_x, __lcpp_y, __lcpp_z);}
                                              ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1533:1: error: template with C linkage
 template <class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::rint(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1555:46: error: conflicting declaration of C function ‘long double std::__1::rint(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double rint(long double __lcpp_x) _NOEXCEPT {return rintl(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1554:46: note: previous declaration ‘float std::__1::rint(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       rint(float __lcpp_x) _NOEXCEPT       {return rintf(__lcpp_x);}
                                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1557:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::round(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1568:46: error: conflicting declaration of C function ‘long double std::__1::round(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double round(long double __lcpp_x) _NOEXCEPT {return roundl(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1567:46: note: previous declaration ‘float std::__1::round(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       round(float __lcpp_x) _NOEXCEPT       {return roundf(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1570:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::scalbln(long double, long int)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1581:46: error: conflicting declaration of C function ‘long double std::__1::scalbln(long double, long int)’
 inline _LIBCPP_INLINE_VISIBILITY long double scalbln(long double __lcpp_x, long __lcpp_y) _NOEXCEPT {return scalblnl(__lcpp_x, __lcpp_y);}
                                              ^~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1580:46: note: previous declaration ‘float std::__1::scalbln(float, long int)’
 inline _LIBCPP_INLINE_VISIBILITY float       scalbln(float __lcpp_x, long __lcpp_y) _NOEXCEPT       {return scalblnf(__lcpp_x, __lcpp_y);}
                                              ^~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1583:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::scalbn(long double, int)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1594:46: error: conflicting declaration of C function ‘long double std::__1::scalbn(long double, int)’
 inline _LIBCPP_INLINE_VISIBILITY long double scalbn(long double __lcpp_x, int __lcpp_y) _NOEXCEPT {return scalbnl(__lcpp_x, __lcpp_y);}
                                              ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1593:46: note: previous declaration ‘float std::__1::scalbn(float, int)’
 inline _LIBCPP_INLINE_VISIBILITY float       scalbn(float __lcpp_x, int __lcpp_y) _NOEXCEPT       {return scalbnf(__lcpp_x, __lcpp_y);}
                                              ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1596:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::tgamma(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1607:46: error: conflicting declaration of C function ‘long double std::__1::tgamma(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double tgamma(long double __lcpp_x) _NOEXCEPT {return tgammal(__lcpp_x);}
                                              ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1606:46: note: previous declaration ‘float std::__1::tgamma(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       tgamma(float __lcpp_x) _NOEXCEPT       {return tgammaf(__lcpp_x);}
                                              ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1609:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: In function ‘long double std::__1::trunc(long double)’:
/home/yongqin/sgxsdk/include/libcxx/cmath:1620:46: error: conflicting declaration of C function ‘long double std::__1::trunc(long double)’
 inline _LIBCPP_INLINE_VISIBILITY long double trunc(long double __lcpp_x) _NOEXCEPT {return truncl(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath:1619:46: note: previous declaration ‘float std::__1::trunc(float)’
 inline _LIBCPP_INLINE_VISIBILITY float       trunc(float __lcpp_x) _NOEXCEPT       {return truncf(__lcpp_x);}
                                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/cmath: At global scope:
/home/yongqin/sgxsdk/include/libcxx/cmath:1622:1: error: template with C linkage
 template <class _A1>
 ^~~~~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/unordered_map:369:0,
                 from /home/yongqin/sgxsdk/include/dnnl.hpp:31,
                 from Enclave/layer.hpp:4,
                 from Enclave/Enclave.h:13,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/__hash_table:35:1: error: template with C linkage
 template <class _Key, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:43:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:46:1: error: template with C linkage
 template <class _Key, class _Value>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:49:1: error: template with C linkage
 template <class ..._Args>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:52:1: error: template with C linkage
 template <class _One>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:59:1: error: template with C linkage
 template <class _NodePtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:69:1: error: template with C linkage
 template <class _Tp, class _VoidPtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:105:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc> class __hash_table;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:107:1: error: template with C linkage
 template <class _NodePtr>      class _LIBCPP_TYPE_VIS_ONLY __hash_iterator;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:108:1: error: template with C linkage
 template <class _ConstNodePtr> class _LIBCPP_TYPE_VIS_ONLY __hash_const_iterator;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:109:1: error: template with C linkage
 template <class _NodePtr>      class _LIBCPP_TYPE_VIS_ONLY __hash_local_iterator;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:110:1: error: template with C linkage
 template <class _ConstNodePtr> class _LIBCPP_TYPE_VIS_ONLY __hash_const_local_iterator;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:111:1: error: template with C linkage
 template <class _HashIterator> class _LIBCPP_TYPE_VIS_ONLY __hash_map_iterator;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:112:1: error: template with C linkage
 template <class _HashIterator> class _LIBCPP_TYPE_VIS_ONLY __hash_map_const_iterator;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:114:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:142:1: error: template with C linkage
 template <class _Key, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:186:1: error: template with C linkage
 template <class _Tp, class _AllocPtr, class _KVTypes = __hash_key_value_types<_Tp>,
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:190:1: error: template with C linkage
 template <class _Tp, class _AllocPtr, class _KVTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:199:1: error: template with C linkage
 template <class _NodePtr, class _NodeT = typename pointer_traits<_NodePtr>::element_type>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:202:1: error: template with C linkage
 template <class _NodePtr, class _Tp, class _VoidPtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:238:1: error: template with C linkage
 template <class _HashIterator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:240:1: error: template with C linkage
 template <class _NodePtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:242:1: error: template with C linkage
 template <class _NodePtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:244:1: error: template with C linkage
 template <class _NodePtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:246:1: error: template with C linkage
 template <class _NodePtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:250:1: error: template with C linkage
 template <class _NodeValueTp, class _VoidPtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:257:1: error: template with C linkage
 template <class _NodePtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:379:1: error: template with C linkage
 template <class _NodePtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:512:1: error: template with C linkage
 template <class _NodePtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:647:1: error: template with C linkage
 template <class _ConstNodePtr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:801:1: error: template with C linkage
 template <class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:851:1: error: template with C linkage
 template <class _Alloc> class __hash_map_node_destructor;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:853:1: error: template with C linkage
 template <class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:890:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1357:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1371:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1382:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1393:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1402:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1415:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1427:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1449:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1476:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1489:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1504:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1519:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1549:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1564:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1595:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1642:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1659:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1698:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1738:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1750:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1762:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1774:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1786:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1801:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1863:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1924:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:1964:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/unordered_map:369:0,
                 from /home/yongqin/sgxsdk/include/dnnl.hpp:31,
                 from Enclave/layer.hpp:4,
                 from Enclave/Enclave.h:13,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2043:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2055:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2066:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2113:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2137:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2191:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2221:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2253:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2269:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2319:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2339:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2365:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2377:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2396:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2446:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2455:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2474:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2488:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2502:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2522:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2542:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2580:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/__hash_table:2599:1: error: template with C linkage
 template <class _Tp, class _Hash, class _Equal, class _Alloc>
 ^~~~~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/unordered_map:370:0,
                 from /home/yongqin/sgxsdk/include/dnnl.hpp:31,
                 from Enclave/layer.hpp:4,
                 from Enclave/Enclave.h:13,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/functional:493:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:520:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:547:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:574:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:601:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:628:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:655:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:682:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:709:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:738:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:765:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:792:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:819:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:846:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:873:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:900:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:927:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:973:1: error: template with C linkage
 template <class _Predicate>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:987:1: error: template with C linkage
 template <class _Predicate>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:992:1: error: template with C linkage
 template <class _Predicate>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1009:1: error: template with C linkage
 template <class _Predicate>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1014:1: error: template with C linkage
 template <class __Operation>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1034:1: error: template with C linkage
 template <class __Operation, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1040:1: error: template with C linkage
 template <class __Operation>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1060:1: error: template with C linkage
 template <class __Operation, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1066:1: error: template with C linkage
 template <class _Arg, class _Result>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1078:1: error: template with C linkage
 template <class _Arg, class _Result>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1084:1: error: template with C linkage
 template <class _Arg1, class _Arg2, class _Result>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1096:1: error: template with C linkage
 template <class _Arg1, class _Arg2, class _Result>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1102:1: error: template with C linkage
 template<class _Sp, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1113:1: error: template with C linkage
 template<class _Sp, class _Tp, class _Ap>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1124:1: error: template with C linkage
 template<class _Sp, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1130:1: error: template with C linkage
 template<class _Sp, class _Tp, class _Ap>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1136:1: error: template with C linkage
 template<class _Sp, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1147:1: error: template with C linkage
 template<class _Sp, class _Tp, class _Ap>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1158:1: error: template with C linkage
 template<class _Sp, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1164:1: error: template with C linkage
 template<class _Sp, class _Tp, class _Ap>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1170:1: error: template with C linkage
 template <class _Sp, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1181:1: error: template with C linkage
 template <class _Sp, class _Tp, class _Ap>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1192:1: error: template with C linkage
 template <class _Sp, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1198:1: error: template with C linkage
 template <class _Sp, class _Tp, class _Ap>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1204:1: error: template with C linkage
 template <class _Sp, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1215:1: error: template with C linkage
 template <class _Sp, class _Tp, class _Ap>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1227:1: error: template with C linkage
 template <class _Sp, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1233:1: error: template with C linkage
 template <class _Sp, class _Tp, class _Ap>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1243:1: error: template with C linkage
 template <class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1366:1: error: template with C linkage
 template<class _Rp, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1385:1: error: template with C linkage
 template<class _Fp> class _LIBCPP_TYPE_VIS_ONLY function; // undefined
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1390:1: error: template with C linkage
 template<class _Rp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1395:1: error: template with C linkage
 template<class _Rp, class _A1>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1401:1: error: template with C linkage
 template<class _Rp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1406:1: error: template with C linkage
 template<class _Rp, class _A1, class _A2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1412:1: error: template with C linkage
 template <class _Fp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1416:1: error: template with C linkage
 template <class _Fp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1420:1: error: template with C linkage
 template <class _Ret, class _Class>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1424:1: error: template with C linkage
 template <class _Fp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1434:1: error: template with C linkage
 template<class _Fp> class __base;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1436:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1455:1: error: template with C linkage
 template<class _FD, class _Alloc, class _FB> class __func;
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1457:1: error: template with C linkage
 template<class _Fp, class _Alloc, class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1492:1: error: template with C linkage
 template<class _Fp, class _Alloc, class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1505:1: error: template with C linkage
 template<class _Fp, class _Alloc, class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1512:1: error: template with C linkage
 template<class _Fp, class _Alloc, class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1519:1: error: template with C linkage
 template<class _Fp, class _Alloc, class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1530:1: error: template with C linkage
 template<class _Fp, class _Alloc, class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1540:1: error: template with C linkage
 template<class _Fp, class _Alloc, class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1549:1: error: template with C linkage
 template<class _Fp, class _Alloc, class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1560:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1664:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1678:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1694:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1711:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1730:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1759:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1786:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1794:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1818:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1830:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1844:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1853:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1890:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1903:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1912:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1922:1: error: template with C linkage
 template<class _Rp, class ..._ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1934:1: error: template with C linkage
 template <class _Rp, class... _ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1939:1: error: template with C linkage
 template <class _Rp, class... _ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1944:1: error: template with C linkage
 template <class _Rp, class... _ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1949:1: error: template with C linkage
 template <class _Rp, class... _ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1954:1: error: template with C linkage
 template <class _Rp, class... _ArgTypes>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1970:1: error: template with C linkage
 template<class _Tp> struct __is_bind_expression : public false_type {};
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1971:1: error: template with C linkage
 template<class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_bind_expression
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1974:1: error: template with C linkage
 template<class _Tp> struct __is_placeholder : public integral_constant<int, 0> {};
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1975:1: error: template with C linkage
 template<class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_placeholder
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:1981:1: error: template with C linkage
 template <int _Np> struct __ph {};
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2009:1: error: template with C linkage
 template<int _Np>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2016:1: error: template with C linkage
 template <class _Tp, class _Uj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2024:1: error: template with C linkage
 template <class _Ti, class ..._Uj, size_t ..._Indx>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2032:1: error: template with C linkage
 template <class _Ti, class ..._Uj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2045:1: error: template with C linkage
 template <bool IsPh, class _Ti, class _Uj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2048:1: error: template with C linkage
 template <class _Ti, class _Uj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2054:1: error: template with C linkage
 template <class _Ti, class _Uj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2067:1: error: template with C linkage
 template <class _Ti, class _Uj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2081:1: error: template with C linkage
 template <class _Ti, bool IsReferenceWrapper, bool IsBindEx, bool IsPh,
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2085:1: error: template with C linkage
 template <bool _Invokable, class _Ti, class ..._Uj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2091:1: error: template with C linkage
 template <class _Ti, class ..._Uj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2097:1: error: template with C linkage
 template <class _Ti, class ..._Uj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2103:1: error: template with C linkage
 template <class _Ti, class _TupleUj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2110:1: error: template with C linkage
 template <class _Ti, class _TupleUj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2116:1: error: template with C linkage
 template <class _Ti, class _TupleUj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2122:1: error: template with C linkage
 template <class _Ti, class _TupleUj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2133:1: error: template with C linkage
 template <class _Fp, class _BoundArgs, class _TupleUj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2139:1: error: template with C linkage
 template <class _Fp, class ..._BoundArgs, class _TupleUj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2146:1: error: template with C linkage
 template <class _Fp, class ..._BoundArgs, class _TupleUj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2153:1: error: template with C linkage
 template <class _Fp, class _BoundArgs, class _TupleUj,
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2157:1: error: template with C linkage
 template <class _Fp, class ..._BoundArgs, class _TupleUj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2171:1: error: template with C linkage
 template <class _Fp, class ..._BoundArgs, class _TupleUj>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2185:1: error: template with C linkage
 template <class _Fp, class _BoundArgs, size_t ..._Indx, class _Args>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2194:1: error: template with C linkage
 template<class _Fp, class ..._BoundArgs>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2268:1: error: template with C linkage
 template<class _Fp, class ..._BoundArgs>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2271:1: error: template with C linkage
 template<class _Rp, class _Fp, class ..._BoundArgs>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2348:1: error: template with C linkage
 template<class _Rp, class _Fp, class ..._BoundArgs>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2351:1: error: template with C linkage
 template<class _Fp, class ..._BoundArgs>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2360:1: error: template with C linkage
 template<class _Rp, class _Fp, class ..._BoundArgs>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2371:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2379:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2387:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2395:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2405:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2413:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2423:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2431:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2439:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2447:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2455:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2463:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2471:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2479:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2485:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2493:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2499:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2507:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2521:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/functional:2535:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
In file included from /home/yongqin/sgxsdk/include/dnnl.hpp:31:0,
                 from Enclave/layer.hpp:4,
                 from Enclave/Enclave.h:13,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/unordered_map:382:1: error: template with C linkage
 template <class _Key, class _Cp, class _Hash,
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:413:1: error: template with C linkage
 template <class _Key, class _Cp, class _Hash>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:442:1: error: template with C linkage
 template <class _Key, class _Cp, class _Hash, bool __b>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:452:1: error: template with C linkage
 template <class _Key, class _Cp, class _Pred,
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:486:1: error: template with C linkage
 template <class _Key, class _Cp, class _Pred>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:518:1: error: template with C linkage
 template <class _Key, class _Cp, class _Pred, bool __b>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:528:1: error: template with C linkage
 template <class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:588:1: error: template with C linkage
 template <class _Key, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:643:1: error: template with C linkage
 template <class _HashIterator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:692:1: error: template with C linkage
 template <class _HashIterator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:745:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = equal_to<_Key>,
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1173:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1184:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1196:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1207:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1218:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1232:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1246:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1258:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1272:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1285:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1311:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1321:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1334:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1351:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1365:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1392:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1418:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1427:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1438:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1450:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1462:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1472:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1491:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1500:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = equal_to<_Key>,
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1808:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1819:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1831:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1842:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1856:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1870:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1881:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1893:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1907:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1920:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1948:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1958:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1971:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:1988:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:2002:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:2016:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:2027:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:2037:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/unordered_map:2060:1: error: template with C linkage
 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
 ^~~~~~~~
In file included from Enclave/layer.hpp:4:0,
                 from Enclave/Enclave.h:13,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/dnnl.hpp:77:1: error: template with C linkage
 template <typename T>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:93:1: error: template with C linkage
 template <typename T, typename traits = handle_traits<T>>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:154:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:159:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:164:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:169:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl_scratchpad_mode_t dnnl::convert_to_c(dnnl::scratchpad_mode)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:260:31: error: conflicting declaration of C function ‘dnnl_scratchpad_mode_t dnnl::convert_to_c(dnnl::scratchpad_mode)’
 inline dnnl_scratchpad_mode_t convert_to_c(scratchpad_mode mode) {
                               ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:235:30: note: previous declaration ‘dnnl_primitive_kind_t dnnl::convert_to_c(dnnl::primitive::kind)’
 inline dnnl_primitive_kind_t convert_to_c(primitive::kind akind) {
                              ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl_prop_kind_t dnnl::convert_to_c(dnnl::prop_kind)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:291:25: error: conflicting declaration of C function ‘dnnl_prop_kind_t dnnl::convert_to_c(dnnl::prop_kind)’
 inline dnnl_prop_kind_t convert_to_c(prop_kind kind) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:260:31: note: previous declaration ‘dnnl_scratchpad_mode_t dnnl::convert_to_c(dnnl::scratchpad_mode)’
 inline dnnl_scratchpad_mode_t convert_to_c(scratchpad_mode mode) {
                               ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:291:25: error: conflicting declaration of C function ‘dnnl_prop_kind_t dnnl::convert_to_c(dnnl::prop_kind)’
 inline dnnl_prop_kind_t convert_to_c(prop_kind kind) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:235:30: note: previous declaration ‘dnnl_primitive_kind_t dnnl::convert_to_c(dnnl::primitive::kind)’
 inline dnnl_primitive_kind_t convert_to_c(primitive::kind akind) {
                              ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl_alg_kind_t dnnl::convert_to_c(dnnl::algorithm)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:367:24: error: conflicting declaration of C function ‘dnnl_alg_kind_t dnnl::convert_to_c(dnnl::algorithm)’
 inline dnnl_alg_kind_t convert_to_c(algorithm aalgorithm) {
                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:291:25: note: previous declaration ‘dnnl_prop_kind_t dnnl::convert_to_c(dnnl::prop_kind)’
 inline dnnl_prop_kind_t convert_to_c(prop_kind kind) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:367:24: error: conflicting declaration of C function ‘dnnl_alg_kind_t dnnl::convert_to_c(dnnl::algorithm)’
 inline dnnl_alg_kind_t convert_to_c(algorithm aalgorithm) {
                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:260:31: note: previous declaration ‘dnnl_scratchpad_mode_t dnnl::convert_to_c(dnnl::scratchpad_mode)’
 inline dnnl_scratchpad_mode_t convert_to_c(scratchpad_mode mode) {
                               ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:367:24: error: conflicting declaration of C function ‘dnnl_alg_kind_t dnnl::convert_to_c(dnnl::algorithm)’
 inline dnnl_alg_kind_t convert_to_c(algorithm aalgorithm) {
                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:235:30: note: previous declaration ‘dnnl_primitive_kind_t dnnl::convert_to_c(dnnl::primitive::kind)’
 inline dnnl_primitive_kind_t convert_to_c(primitive::kind akind) {
                              ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl_normalization_flags_t dnnl::convert_to_c(dnnl::normalization_flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:411:35: error: conflicting declaration of C function ‘dnnl_normalization_flags_t dnnl::convert_to_c(dnnl::normalization_flags)’
 inline dnnl_normalization_flags_t convert_to_c(normalization_flags aflag) {
                                   ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:367:24: note: previous declaration ‘dnnl_alg_kind_t dnnl::convert_to_c(dnnl::algorithm)’
 inline dnnl_alg_kind_t convert_to_c(algorithm aalgorithm) {
                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:411:35: error: conflicting declaration of C function ‘dnnl_normalization_flags_t dnnl::convert_to_c(dnnl::normalization_flags)’
 inline dnnl_normalization_flags_t convert_to_c(normalization_flags aflag) {
                                   ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:291:25: note: previous declaration ‘dnnl_prop_kind_t dnnl::convert_to_c(dnnl::prop_kind)’
 inline dnnl_prop_kind_t convert_to_c(prop_kind kind) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:411:35: error: conflicting declaration of C function ‘dnnl_normalization_flags_t dnnl::convert_to_c(dnnl::normalization_flags)’
 inline dnnl_normalization_flags_t convert_to_c(normalization_flags aflag) {
                                   ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:260:31: note: previous declaration ‘dnnl_scratchpad_mode_t dnnl::convert_to_c(dnnl::scratchpad_mode)’
 inline dnnl_scratchpad_mode_t convert_to_c(scratchpad_mode mode) {
                               ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:411:35: error: conflicting declaration of C function ‘dnnl_normalization_flags_t dnnl::convert_to_c(dnnl::normalization_flags)’
 inline dnnl_normalization_flags_t convert_to_c(normalization_flags aflag) {
                                   ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:235:30: note: previous declaration ‘dnnl_primitive_kind_t dnnl::convert_to_c(dnnl::primitive::kind)’
 inline dnnl_primitive_kind_t convert_to_c(primitive::kind akind) {
                              ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl_rnn_flags_t dnnl::convert_to_c(dnnl::rnn_flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:417:25: error: conflicting declaration of C function ‘dnnl_rnn_flags_t dnnl::convert_to_c(dnnl::rnn_flags)’
 inline dnnl_rnn_flags_t convert_to_c(rnn_flags aflag) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:411:35: note: previous declaration ‘dnnl_normalization_flags_t dnnl::convert_to_c(dnnl::normalization_flags)’
 inline dnnl_normalization_flags_t convert_to_c(normalization_flags aflag) {
                                   ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:417:25: error: conflicting declaration of C function ‘dnnl_rnn_flags_t dnnl::convert_to_c(dnnl::rnn_flags)’
 inline dnnl_rnn_flags_t convert_to_c(rnn_flags aflag) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:367:24: note: previous declaration ‘dnnl_alg_kind_t dnnl::convert_to_c(dnnl::algorithm)’
 inline dnnl_alg_kind_t convert_to_c(algorithm aalgorithm) {
                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:417:25: error: conflicting declaration of C function ‘dnnl_rnn_flags_t dnnl::convert_to_c(dnnl::rnn_flags)’
 inline dnnl_rnn_flags_t convert_to_c(rnn_flags aflag) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:291:25: note: previous declaration ‘dnnl_prop_kind_t dnnl::convert_to_c(dnnl::prop_kind)’
 inline dnnl_prop_kind_t convert_to_c(prop_kind kind) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:417:25: error: conflicting declaration of C function ‘dnnl_rnn_flags_t dnnl::convert_to_c(dnnl::rnn_flags)’
 inline dnnl_rnn_flags_t convert_to_c(rnn_flags aflag) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:260:31: note: previous declaration ‘dnnl_scratchpad_mode_t dnnl::convert_to_c(dnnl::scratchpad_mode)’
 inline dnnl_scratchpad_mode_t convert_to_c(scratchpad_mode mode) {
                               ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:417:25: error: conflicting declaration of C function ‘dnnl_rnn_flags_t dnnl::convert_to_c(dnnl::rnn_flags)’
 inline dnnl_rnn_flags_t convert_to_c(rnn_flags aflag) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:235:30: note: previous declaration ‘dnnl_primitive_kind_t dnnl::convert_to_c(dnnl::primitive::kind)’
 inline dnnl_primitive_kind_t convert_to_c(primitive::kind akind) {
                              ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::rnn_flags dnnl::operator|(dnnl::rnn_flags, dnnl::rnn_flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:422:22: error: conflicting declaration of C function ‘dnnl::rnn_flags dnnl::operator|(dnnl::rnn_flags, dnnl::rnn_flags)’
     inline enum_name operator|(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:422:22: note: previous declaration ‘dnnl::normalization_flags dnnl::operator|(dnnl::normalization_flags, dnnl::normalization_flags)’
     inline enum_name operator|(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::rnn_flags dnnl::operator&(dnnl::rnn_flags, dnnl::rnn_flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:427:22: error: conflicting declaration of C function ‘dnnl::rnn_flags dnnl::operator&(dnnl::rnn_flags, dnnl::rnn_flags)’
     inline enum_name operator&(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:427:22: note: previous declaration ‘dnnl::normalization_flags dnnl::operator&(dnnl::normalization_flags, dnnl::normalization_flags)’
     inline enum_name operator&(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::rnn_flags dnnl::operator^(dnnl::rnn_flags, dnnl::rnn_flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:432:22: error: conflicting declaration of C function ‘dnnl::rnn_flags dnnl::operator^(dnnl::rnn_flags, dnnl::rnn_flags)’
     inline enum_name operator^(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:432:22: note: previous declaration ‘dnnl::normalization_flags dnnl::operator^(dnnl::normalization_flags, dnnl::normalization_flags)’
     inline enum_name operator^(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::rnn_flags& dnnl::operator|=(dnnl::rnn_flags&, dnnl::rnn_flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:437:23: error: conflicting declaration of C function ‘dnnl::rnn_flags& dnnl::operator|=(dnnl::rnn_flags&, dnnl::rnn_flags)’
     inline enum_name &operator|=(enum_name &lhs, enum_name rhs) { \
                       ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:437:23: note: previous declaration ‘dnnl::normalization_flags& dnnl::operator|=(dnnl::normalization_flags&, dnnl::normalization_flags)’
     inline enum_name &operator|=(enum_name &lhs, enum_name rhs) { \
                       ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::rnn_flags& dnnl::operator&=(dnnl::rnn_flags&, dnnl::rnn_flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:443:23: error: conflicting declaration of C function ‘dnnl::rnn_flags& dnnl::operator&=(dnnl::rnn_flags&, dnnl::rnn_flags)’
     inline enum_name &operator&=(enum_name &lhs, enum_name rhs) { \
                       ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:443:23: note: previous declaration ‘dnnl::normalization_flags& dnnl::operator&=(dnnl::normalization_flags&, dnnl::normalization_flags)’
     inline enum_name &operator&=(enum_name &lhs, enum_name rhs) { \
                       ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::rnn_flags& dnnl::operator^=(dnnl::rnn_flags&, dnnl::rnn_flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:449:23: error: conflicting declaration of C function ‘dnnl::rnn_flags& dnnl::operator^=(dnnl::rnn_flags&, dnnl::rnn_flags)’
     inline enum_name &operator^=(enum_name &lhs, enum_name rhs) { \
                       ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:449:23: note: previous declaration ‘dnnl::normalization_flags& dnnl::operator^=(dnnl::normalization_flags&, dnnl::normalization_flags)’
     inline enum_name &operator^=(enum_name &lhs, enum_name rhs) { \
                       ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::rnn_flags dnnl::operator~(dnnl::rnn_flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:455:22: error: conflicting declaration of C function ‘dnnl::rnn_flags dnnl::operator~(dnnl::rnn_flags)’
     inline enum_name operator~(enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:455:22: note: previous declaration ‘dnnl::normalization_flags dnnl::operator~(dnnl::normalization_flags)’
     inline enum_name operator~(enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl_rnn_direction_t dnnl::convert_to_c(dnnl::rnn_direction)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:472:29: error: conflicting declaration of C function ‘dnnl_rnn_direction_t dnnl::convert_to_c(dnnl::rnn_direction)’
 inline dnnl_rnn_direction_t convert_to_c(rnn_direction adir) {
                             ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:417:25: note: previous declaration ‘dnnl_rnn_flags_t dnnl::convert_to_c(dnnl::rnn_flags)’
 inline dnnl_rnn_flags_t convert_to_c(rnn_flags aflag) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:472:29: error: conflicting declaration of C function ‘dnnl_rnn_direction_t dnnl::convert_to_c(dnnl::rnn_direction)’
 inline dnnl_rnn_direction_t convert_to_c(rnn_direction adir) {
                             ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:411:35: note: previous declaration ‘dnnl_normalization_flags_t dnnl::convert_to_c(dnnl::normalization_flags)’
 inline dnnl_normalization_flags_t convert_to_c(normalization_flags aflag) {
                                   ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:472:29: error: conflicting declaration of C function ‘dnnl_rnn_direction_t dnnl::convert_to_c(dnnl::rnn_direction)’
 inline dnnl_rnn_direction_t convert_to_c(rnn_direction adir) {
                             ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:367:24: note: previous declaration ‘dnnl_alg_kind_t dnnl::convert_to_c(dnnl::algorithm)’
 inline dnnl_alg_kind_t convert_to_c(algorithm aalgorithm) {
                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:472:29: error: conflicting declaration of C function ‘dnnl_rnn_direction_t dnnl::convert_to_c(dnnl::rnn_direction)’
 inline dnnl_rnn_direction_t convert_to_c(rnn_direction adir) {
                             ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:291:25: note: previous declaration ‘dnnl_prop_kind_t dnnl::convert_to_c(dnnl::prop_kind)’
 inline dnnl_prop_kind_t convert_to_c(prop_kind kind) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:472:29: error: conflicting declaration of C function ‘dnnl_rnn_direction_t dnnl::convert_to_c(dnnl::rnn_direction)’
 inline dnnl_rnn_direction_t convert_to_c(rnn_direction adir) {
                             ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:260:31: note: previous declaration ‘dnnl_scratchpad_mode_t dnnl::convert_to_c(dnnl::scratchpad_mode)’
 inline dnnl_scratchpad_mode_t convert_to_c(scratchpad_mode mode) {
                               ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:472:29: error: conflicting declaration of C function ‘dnnl_rnn_direction_t dnnl::convert_to_c(dnnl::rnn_direction)’
 inline dnnl_rnn_direction_t convert_to_c(rnn_direction adir) {
                             ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:235:30: note: previous declaration ‘dnnl_primitive_kind_t dnnl::convert_to_c(dnnl::primitive::kind)’
 inline dnnl_primitive_kind_t convert_to_c(primitive::kind akind) {
                              ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl_query_t dnnl::convert_to_c(dnnl::query)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:564:21: error: conflicting declaration of C function ‘dnnl_query_t dnnl::convert_to_c(dnnl::query)’
 inline dnnl_query_t convert_to_c(query aquery) {
                     ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:472:29: note: previous declaration ‘dnnl_rnn_direction_t dnnl::convert_to_c(dnnl::rnn_direction)’
 inline dnnl_rnn_direction_t convert_to_c(rnn_direction adir) {
                             ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:564:21: error: conflicting declaration of C function ‘dnnl_query_t dnnl::convert_to_c(dnnl::query)’
 inline dnnl_query_t convert_to_c(query aquery) {
                     ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:417:25: note: previous declaration ‘dnnl_rnn_flags_t dnnl::convert_to_c(dnnl::rnn_flags)’
 inline dnnl_rnn_flags_t convert_to_c(rnn_flags aflag) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:564:21: error: conflicting declaration of C function ‘dnnl_query_t dnnl::convert_to_c(dnnl::query)’
 inline dnnl_query_t convert_to_c(query aquery) {
                     ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:411:35: note: previous declaration ‘dnnl_normalization_flags_t dnnl::convert_to_c(dnnl::normalization_flags)’
 inline dnnl_normalization_flags_t convert_to_c(normalization_flags aflag) {
                                   ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:564:21: error: conflicting declaration of C function ‘dnnl_query_t dnnl::convert_to_c(dnnl::query)’
 inline dnnl_query_t convert_to_c(query aquery) {
                     ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:367:24: note: previous declaration ‘dnnl_alg_kind_t dnnl::convert_to_c(dnnl::algorithm)’
 inline dnnl_alg_kind_t convert_to_c(algorithm aalgorithm) {
                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:564:21: error: conflicting declaration of C function ‘dnnl_query_t dnnl::convert_to_c(dnnl::query)’
 inline dnnl_query_t convert_to_c(query aquery) {
                     ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:291:25: note: previous declaration ‘dnnl_prop_kind_t dnnl::convert_to_c(dnnl::prop_kind)’
 inline dnnl_prop_kind_t convert_to_c(prop_kind kind) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:564:21: error: conflicting declaration of C function ‘dnnl_query_t dnnl::convert_to_c(dnnl::query)’
 inline dnnl_query_t convert_to_c(query aquery) {
                     ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:260:31: note: previous declaration ‘dnnl_scratchpad_mode_t dnnl::convert_to_c(dnnl::scratchpad_mode)’
 inline dnnl_scratchpad_mode_t convert_to_c(scratchpad_mode mode) {
                               ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:564:21: error: conflicting declaration of C function ‘dnnl_query_t dnnl::convert_to_c(dnnl::query)’
 inline dnnl_query_t convert_to_c(query aquery) {
                     ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:235:30: note: previous declaration ‘dnnl_primitive_kind_t dnnl::convert_to_c(dnnl::primitive::kind)’
 inline dnnl_primitive_kind_t convert_to_c(primitive::kind akind) {
                              ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: At global scope:
/home/yongqin/sgxsdk/include/dnnl.hpp:577:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:666:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:814:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:910:5: error: template with C linkage
     template <class primitive_desc>
     ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:920:5: error: template with C linkage
     template <class primitive_desc>
     ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:940:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::stream::flags dnnl::operator|(dnnl::stream::flags, dnnl::stream::flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1000:22: error: conflicting declaration of C function ‘dnnl::stream::flags dnnl::operator|(dnnl::stream::flags, dnnl::stream::flags)’
 inline stream::flags operator|(stream::flags lhs, stream::flags rhs) {
                      ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:422:22: note: previous declaration ‘dnnl::rnn_flags dnnl::operator|(dnnl::rnn_flags, dnnl::rnn_flags)’
     inline enum_name operator|(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1000:22: error: conflicting declaration of C function ‘dnnl::stream::flags dnnl::operator|(dnnl::stream::flags, dnnl::stream::flags)’
 inline stream::flags operator|(stream::flags lhs, stream::flags rhs) {
                      ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:422:22: note: previous declaration ‘dnnl::normalization_flags dnnl::operator|(dnnl::normalization_flags, dnnl::normalization_flags)’
     inline enum_name operator|(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::stream::flags dnnl::operator&(dnnl::stream::flags, dnnl::stream::flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1005:22: error: conflicting declaration of C function ‘dnnl::stream::flags dnnl::operator&(dnnl::stream::flags, dnnl::stream::flags)’
 inline stream::flags operator&(stream::flags lhs, stream::flags rhs) {
                      ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:427:22: note: previous declaration ‘dnnl::rnn_flags dnnl::operator&(dnnl::rnn_flags, dnnl::rnn_flags)’
     inline enum_name operator&(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1005:22: error: conflicting declaration of C function ‘dnnl::stream::flags dnnl::operator&(dnnl::stream::flags, dnnl::stream::flags)’
 inline stream::flags operator&(stream::flags lhs, stream::flags rhs) {
                      ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:427:22: note: previous declaration ‘dnnl::normalization_flags dnnl::operator&(dnnl::normalization_flags, dnnl::normalization_flags)’
     inline enum_name operator&(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::stream::flags dnnl::operator^(dnnl::stream::flags, dnnl::stream::flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1010:22: error: conflicting declaration of C function ‘dnnl::stream::flags dnnl::operator^(dnnl::stream::flags, dnnl::stream::flags)’
 inline stream::flags operator^(stream::flags lhs, stream::flags rhs) {
                      ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:432:22: note: previous declaration ‘dnnl::rnn_flags dnnl::operator^(dnnl::rnn_flags, dnnl::rnn_flags)’
     inline enum_name operator^(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1010:22: error: conflicting declaration of C function ‘dnnl::stream::flags dnnl::operator^(dnnl::stream::flags, dnnl::stream::flags)’
 inline stream::flags operator^(stream::flags lhs, stream::flags rhs) {
                      ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:432:22: note: previous declaration ‘dnnl::normalization_flags dnnl::operator^(dnnl::normalization_flags, dnnl::normalization_flags)’
     inline enum_name operator^(enum_name lhs, enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘dnnl::stream::flags dnnl::operator~(dnnl::stream::flags)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1015:22: error: conflicting declaration of C function ‘dnnl::stream::flags dnnl::operator~(dnnl::stream::flags)’
 inline stream::flags operator~(stream::flags rhs) {
                      ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:455:22: note: previous declaration ‘dnnl::rnn_flags dnnl::operator~(dnnl::rnn_flags)’
     inline enum_name operator~(enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:460:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(rnn_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1015:22: error: conflicting declaration of C function ‘dnnl::stream::flags dnnl::operator~(dnnl::stream::flags)’
 inline stream::flags operator~(stream::flags rhs) {
                      ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:455:22: note: previous declaration ‘dnnl::normalization_flags dnnl::operator~(dnnl::normalization_flags)’
     inline enum_name operator~(enum_name rhs) { \
                      ^
/home/yongqin/sgxsdk/include/dnnl.hpp:459:1: note: in expansion of macro ‘DNNL_DEFINE_BITMASK_OPS’
 DNNL_DEFINE_BITMASK_OPS(normalization_flags)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: At global scope:
/home/yongqin/sgxsdk/include/dnnl.hpp:1035:5: error: template with C linkage
     template <typename T>
     ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1518:5: error: template with C linkage
     template <typename T = void>
     ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘bool dnnl::operator==(dnnl::memory::data_type, dnnl_data_type_t)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1570:13: error: conflicting declaration of C function ‘bool dnnl::operator==(dnnl::memory::data_type, dnnl_data_type_t)’
 inline bool operator==(memory::data_type a, dnnl_data_type_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1564:13: note: previous declaration ‘bool dnnl::operator==(dnnl_data_type_t, dnnl::memory::data_type)’
 inline bool operator==(dnnl_data_type_t a, memory::data_type b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘bool dnnl::operator!=(dnnl::memory::data_type, dnnl_data_type_t)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1573:13: error: conflicting declaration of C function ‘bool dnnl::operator!=(dnnl::memory::data_type, dnnl_data_type_t)’
 inline bool operator!=(memory::data_type a, dnnl_data_type_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1567:13: note: previous declaration ‘bool dnnl::operator!=(dnnl_data_type_t, dnnl::memory::data_type)’
 inline bool operator!=(dnnl_data_type_t a, memory::data_type b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘bool dnnl::operator==(dnnl_format_tag_t, dnnl::memory::format_tag)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1577:13: error: conflicting declaration of C function ‘bool dnnl::operator==(dnnl_format_tag_t, dnnl::memory::format_tag)’
 inline bool operator==(dnnl_format_tag_t a, memory::format_tag b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1570:13: note: previous declaration ‘bool dnnl::operator==(dnnl::memory::data_type, dnnl_data_type_t)’
 inline bool operator==(memory::data_type a, dnnl_data_type_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1577:13: error: conflicting declaration of C function ‘bool dnnl::operator==(dnnl_format_tag_t, dnnl::memory::format_tag)’
 inline bool operator==(dnnl_format_tag_t a, memory::format_tag b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1564:13: note: previous declaration ‘bool dnnl::operator==(dnnl_data_type_t, dnnl::memory::data_type)’
 inline bool operator==(dnnl_data_type_t a, memory::data_type b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘bool dnnl::operator!=(dnnl_format_tag_t, dnnl::memory::format_tag)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1580:13: error: conflicting declaration of C function ‘bool dnnl::operator!=(dnnl_format_tag_t, dnnl::memory::format_tag)’
 inline bool operator!=(dnnl_format_tag_t a, memory::format_tag b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1573:13: note: previous declaration ‘bool dnnl::operator!=(dnnl::memory::data_type, dnnl_data_type_t)’
 inline bool operator!=(memory::data_type a, dnnl_data_type_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1580:13: error: conflicting declaration of C function ‘bool dnnl::operator!=(dnnl_format_tag_t, dnnl::memory::format_tag)’
 inline bool operator!=(dnnl_format_tag_t a, memory::format_tag b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1567:13: note: previous declaration ‘bool dnnl::operator!=(dnnl_data_type_t, dnnl::memory::data_type)’
 inline bool operator!=(dnnl_data_type_t a, memory::data_type b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘bool dnnl::operator==(dnnl::memory::format_tag, dnnl_format_tag_t)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1583:13: error: conflicting declaration of C function ‘bool dnnl::operator==(dnnl::memory::format_tag, dnnl_format_tag_t)’
 inline bool operator==(memory::format_tag a, dnnl_format_tag_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1577:13: note: previous declaration ‘bool dnnl::operator==(dnnl_format_tag_t, dnnl::memory::format_tag)’
 inline bool operator==(dnnl_format_tag_t a, memory::format_tag b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1583:13: error: conflicting declaration of C function ‘bool dnnl::operator==(dnnl::memory::format_tag, dnnl_format_tag_t)’
 inline bool operator==(memory::format_tag a, dnnl_format_tag_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1570:13: note: previous declaration ‘bool dnnl::operator==(dnnl::memory::data_type, dnnl_data_type_t)’
 inline bool operator==(memory::data_type a, dnnl_data_type_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1583:13: error: conflicting declaration of C function ‘bool dnnl::operator==(dnnl::memory::format_tag, dnnl_format_tag_t)’
 inline bool operator==(memory::format_tag a, dnnl_format_tag_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1564:13: note: previous declaration ‘bool dnnl::operator==(dnnl_data_type_t, dnnl::memory::data_type)’
 inline bool operator==(dnnl_data_type_t a, memory::data_type b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘bool dnnl::operator!=(dnnl::memory::format_tag, dnnl_format_tag_t)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1586:13: error: conflicting declaration of C function ‘bool dnnl::operator!=(dnnl::memory::format_tag, dnnl_format_tag_t)’
 inline bool operator!=(memory::format_tag a, dnnl_format_tag_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1580:13: note: previous declaration ‘bool dnnl::operator!=(dnnl_format_tag_t, dnnl::memory::format_tag)’
 inline bool operator!=(dnnl_format_tag_t a, memory::format_tag b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1586:13: error: conflicting declaration of C function ‘bool dnnl::operator!=(dnnl::memory::format_tag, dnnl_format_tag_t)’
 inline bool operator!=(memory::format_tag a, dnnl_format_tag_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1573:13: note: previous declaration ‘bool dnnl::operator!=(dnnl::memory::data_type, dnnl_data_type_t)’
 inline bool operator!=(memory::data_type a, dnnl_data_type_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1586:13: error: conflicting declaration of C function ‘bool dnnl::operator!=(dnnl::memory::format_tag, dnnl_format_tag_t)’
 inline bool operator!=(memory::format_tag a, dnnl_format_tag_t b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1567:13: note: previous declaration ‘bool dnnl::operator!=(dnnl_data_type_t, dnnl::memory::data_type)’
 inline bool operator!=(dnnl_data_type_t a, memory::data_type b) {
             ^~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp: In function ‘std::__1::vector<dnnl_memory_desc_t> dnnl::convert_to_c(const std::__1::vector<dnnl::memory::desc>&)’:
/home/yongqin/sgxsdk/include/dnnl.hpp:1821:40: error: conflicting declaration of C function ‘std::__1::vector<dnnl_memory_desc_t> dnnl::convert_to_c(const std::__1::vector<dnnl::memory::desc>&)’
 inline std::vector<dnnl_memory_desc_t> convert_to_c(
                                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:564:21: note: previous declaration ‘dnnl_query_t dnnl::convert_to_c(dnnl::query)’
 inline dnnl_query_t convert_to_c(query aquery) {
                     ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1821:40: error: conflicting declaration of C function ‘std::__1::vector<dnnl_memory_desc_t> dnnl::convert_to_c(const std::__1::vector<dnnl::memory::desc>&)’
 inline std::vector<dnnl_memory_desc_t> convert_to_c(
                                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:472:29: note: previous declaration ‘dnnl_rnn_direction_t dnnl::convert_to_c(dnnl::rnn_direction)’
 inline dnnl_rnn_direction_t convert_to_c(rnn_direction adir) {
                             ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1821:40: error: conflicting declaration of C function ‘std::__1::vector<dnnl_memory_desc_t> dnnl::convert_to_c(const std::__1::vector<dnnl::memory::desc>&)’
 inline std::vector<dnnl_memory_desc_t> convert_to_c(
                                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:417:25: note: previous declaration ‘dnnl_rnn_flags_t dnnl::convert_to_c(dnnl::rnn_flags)’
 inline dnnl_rnn_flags_t convert_to_c(rnn_flags aflag) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1821:40: error: conflicting declaration of C function ‘std::__1::vector<dnnl_memory_desc_t> dnnl::convert_to_c(const std::__1::vector<dnnl::memory::desc>&)’
 inline std::vector<dnnl_memory_desc_t> convert_to_c(
                                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:411:35: note: previous declaration ‘dnnl_normalization_flags_t dnnl::convert_to_c(dnnl::normalization_flags)’
 inline dnnl_normalization_flags_t convert_to_c(normalization_flags aflag) {
                                   ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1821:40: error: conflicting declaration of C function ‘std::__1::vector<dnnl_memory_desc_t> dnnl::convert_to_c(const std::__1::vector<dnnl::memory::desc>&)’
 inline std::vector<dnnl_memory_desc_t> convert_to_c(
                                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:367:24: note: previous declaration ‘dnnl_alg_kind_t dnnl::convert_to_c(dnnl::algorithm)’
 inline dnnl_alg_kind_t convert_to_c(algorithm aalgorithm) {
                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1821:40: error: conflicting declaration of C function ‘std::__1::vector<dnnl_memory_desc_t> dnnl::convert_to_c(const std::__1::vector<dnnl::memory::desc>&)’
 inline std::vector<dnnl_memory_desc_t> convert_to_c(
                                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:291:25: note: previous declaration ‘dnnl_prop_kind_t dnnl::convert_to_c(dnnl::prop_kind)’
 inline dnnl_prop_kind_t convert_to_c(prop_kind kind) {
                         ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1821:40: error: conflicting declaration of C function ‘std::__1::vector<dnnl_memory_desc_t> dnnl::convert_to_c(const std::__1::vector<dnnl::memory::desc>&)’
 inline std::vector<dnnl_memory_desc_t> convert_to_c(
                                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:260:31: note: previous declaration ‘dnnl_scratchpad_mode_t dnnl::convert_to_c(dnnl::scratchpad_mode)’
 inline dnnl_scratchpad_mode_t convert_to_c(scratchpad_mode mode) {
                               ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:1821:40: error: conflicting declaration of C function ‘std::__1::vector<dnnl_memory_desc_t> dnnl::convert_to_c(const std::__1::vector<dnnl::memory::desc>&)’
 inline std::vector<dnnl_memory_desc_t> convert_to_c(
                                        ^~~~~~~~~~~~
/home/yongqin/sgxsdk/include/dnnl.hpp:235:30: note: previous declaration ‘dnnl_primitive_kind_t dnnl::convert_to_c(dnnl::primitive::kind)’
 inline dnnl_primitive_kind_t convert_to_c(primitive::kind akind) {
                              ^~~~~~~~~~~~
In file included from Enclave/conv2d_sp.hpp:7:0,
                 from Enclave/Enclave.h:14,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/numeric: At global scope:
/home/yongqin/sgxsdk/include/libcxx/numeric:69:1: error: template with C linkage
 template <class _InputIterator, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/numeric:79:1: error: template with C linkage
 template <class _InputIterator, class _Tp, class _BinaryOperation>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/numeric:89:1: error: template with C linkage
 template <class _InputIterator1, class _InputIterator2, class _Tp>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/numeric:99:1: error: template with C linkage
 template <class _InputIterator1, class _InputIterator2, class _Tp, class _BinaryOperation1, class _BinaryOperation2>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/numeric:110:1: error: template with C linkage
 template <class _InputIterator, class _OutputIterator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/numeric:128:1: error: template with C linkage
 template <class _InputIterator, class _OutputIterator, class _BinaryOperation>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/numeric:147:1: error: template with C linkage
 template <class _InputIterator, class _OutputIterator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/numeric:166:1: error: template with C linkage
 template <class _InputIterator, class _OutputIterator, class _BinaryOperation>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/numeric:186:1: error: template with C linkage
 template <class _ForwardIterator, class _Tp>
 ^~~~~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/string:441:0,
                 from Enclave/conv2d_sp.hpp:8,
                 from Enclave/Enclave.h:14,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/cwchar: In function ‘wchar_t* std::__1::wcschr(wchar_t*, wchar_t)’:
/home/yongqin/sgxsdk/include/libcxx/cwchar:202:49: error: conflicting declaration of C function ‘wchar_t* std::__1::wcschr(wchar_t*, wchar_t)’
 inline _LIBCPP_INLINE_VISIBILITY       wchar_t* wcschr(      wchar_t* __s, wchar_t __c) {return ::wcschr(__s, __c);}
                                                 ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cwchar:201:49: note: previous declaration ‘const wchar_t* std::__1::wcschr(const wchar_t*, wchar_t)’
 inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return ::wcschr(__s, __c);}
                                                 ^~~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/string:441:0,
                 from Enclave/conv2d_sp.hpp:8,
                 from Enclave/Enclave.h:14,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/cwchar: In function ‘wchar_t* std::__1::wcspbrk(wchar_t*, const wchar_t*)’:
/home/yongqin/sgxsdk/include/libcxx/cwchar:205:49: error: conflicting declaration of C function ‘wchar_t* std::__1::wcspbrk(wchar_t*, const wchar_t*)’
 inline _LIBCPP_INLINE_VISIBILITY       wchar_t* wcspbrk(      wchar_t* __s1, const wchar_t* __s2) {return ::wcspbrk(__s1, __s2);}
                                                 ^~~~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/string:441:0,
                 from Enclave/conv2d_sp.hpp:8,
                 from Enclave/Enclave.h:14,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/cwchar:204:49: note: previous declaration ‘const wchar_t* std::__1::wcspbrk(const wchar_t*, const wchar_t*)’
 inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wcspbrk(const wchar_t* __s1, const wchar_t* __s2) {return ::wcspbrk(__s1, __s2);}
                                                 ^~~~~~~
In file included from /home/yongqin/sgxsdk/include/libcxx/string:441:0,
                 from Enclave/conv2d_sp.hpp:8,
                 from Enclave/Enclave.h:14,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/cwchar: In function ‘wchar_t* std::__1::wcsrchr(wchar_t*, wchar_t)’:
/home/yongqin/sgxsdk/include/libcxx/cwchar:208:49: error: conflicting declaration of C function ‘wchar_t* std::__1::wcsrchr(wchar_t*, wchar_t)’
 inline _LIBCPP_INLINE_VISIBILITY       wchar_t* wcsrchr(      wchar_t* __s, wchar_t __c) {return ::wcsrchr(__s, __c);}
                                                 ^~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cwchar:207:49: note: previous declaration ‘const wchar_t* std::__1::wcsrchr(const wchar_t*, wchar_t)’
 inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) {return ::wcsrchr(__s, __c);}
                                                 ^~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cwchar: In function ‘wchar_t* std::__1::wcsstr(wchar_t*, const wchar_t*)’:
/home/yongqin/sgxsdk/include/libcxx/cwchar:211:49: error: conflicting declaration of C function ‘wchar_t* std::__1::wcsstr(wchar_t*, const wchar_t*)’
 inline _LIBCPP_INLINE_VISIBILITY       wchar_t* wcsstr(      wchar_t* __s1, const wchar_t* __s2) {return ::wcsstr(__s1, __s2);}
                                                 ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cwchar:210:49: note: previous declaration ‘const wchar_t* std::__1::wcsstr(const wchar_t*, const wchar_t*)’
 inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return ::wcsstr(__s1, __s2);}
                                                 ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/cwchar: In function ‘wchar_t* std::__1::wmemchr(wchar_t*, wchar_t, size_t)’:
/home/yongqin/sgxsdk/include/libcxx/cwchar:214:49: error: conflicting declaration of C function ‘wchar_t* std::__1::wmemchr(wchar_t*, wchar_t, size_t)’
 inline _LIBCPP_INLINE_VISIBILITY       wchar_t* wmemchr(      wchar_t* __s, wchar_t __c, size_t __n) {return ::wmemchr(__s, __c, __n);}
                                                 ^~~~~~~
/home/yongqin/sgxsdk/include/libcxx/cwchar:213:49: note: previous declaration ‘const wchar_t* std::__1::wmemchr(const wchar_t*, wchar_t, size_t)’
 inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return ::wmemchr(__s, __c, __n);}
                                                 ^~~~~~~
In file included from Enclave/conv2d_sp.hpp:8:0,
                 from Enclave/Enclave.h:14,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/string: At global scope:
/home/yongqin/sgxsdk/include/libcxx/string:508:1: error: template with C linkage
 template <class _CharT>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:549:1: error: template with C linkage
 template <class _CharT>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:563:1: error: template with C linkage
 template <class _CharT>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:574:1: error: template with C linkage
 template <class _CharT>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:588:1: error: template with C linkage
 template <class _CharT>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:608:1: error: template with C linkage
 template <class _CharT>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:620:1: error: template with C linkage
 template <class _CharT>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:633:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:680:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:728:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:849:1: error: template specialization with C linkage
 template <>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:975:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:988:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1009:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1028:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1047:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1063:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1086:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1102:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1119:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1135:1: error: template with C linkage
 template<class _CharT, class _SizeT, class _Traits, _SizeT __npos>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1150:1: error: template with C linkage
 template<class _Ptr>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1159:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1164:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1168:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1172:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1176:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1180:1: error: template with C linkage
 template <bool>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1188:1: error: template with C linkage
 template <bool __b>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1199:1: error: template with C linkage
 template <bool __b>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1226:1: error: template with C linkage
 template <class _Iter, bool = __is_forward_iterator<_Iter>::value>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1234:1: error: template with C linkage
 template <class _Iter>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1239:1: error: template with C linkage
 template <class _Iter>
 ^~~~~~~~
In file included from Enclave/conv2d_sp.hpp:8:0,
                 from Enclave/Enclave.h:14,
                 from Enclave/Enclave.cpp:6:
/home/yongqin/sgxsdk/include/libcxx/string:1258:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1955:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1965:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:1995:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2006:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2022:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2046:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2070:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2081:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2093:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2104:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2116:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2129:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2144:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2162:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2183:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2207:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2217:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2228:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2242:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2257:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2284:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2315:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2326:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2341:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2351:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2364:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2374:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2407:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2437:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2459:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2478:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2499:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2513:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2525:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2542:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2555:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2570:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2597:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2607:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2617:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2640:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2659:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2696:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2711:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2737:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2745:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2755:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2765:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2797:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2828:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2847:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2890:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2898:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2909:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2917:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2943:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:2960:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3012:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3045:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3059:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3067:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3078:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3086:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3095:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3103:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3111:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3121:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3143:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3161:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3178:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3200:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3218:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3236:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3247:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3260:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3323:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3332:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3341:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3350:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3359:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3368:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3377:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3386:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3395:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3407:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3415:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3439:1: error: template with C linkage
 template <class _Traits>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3448:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3459:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3469:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3480:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3491:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3502:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3512:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3523:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3534:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3545:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3555:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3566:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3577:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3588:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3598:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3609:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3620:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3631:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3641:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3652:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3664:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3675:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3685:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3696:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3708:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3726:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3736:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3751:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3759:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3769:1: error: template with C linkage
 template <class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3794:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3812:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3824:1: error: template with C linkage
 template<class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3843:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3856:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3871:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3880:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3889:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3900:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3909:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3918:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3929:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3938:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3947:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3958:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3967:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3976:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3987:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:3996:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4005:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4016:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4029:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4041:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4052:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4064:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4077:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4085:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4093:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4101:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4109:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4118:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4126:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4139:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4167:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4166:25: note: previous declaration ‘std::__1::string std::__1::to_string(int)’
 _LIBCPP_FUNC_VIS string to_string(int __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4168:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long int)’
 _LIBCPP_FUNC_VIS string to_string(long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4167:25: note: previous declaration ‘std::__1::string std::__1::to_string(unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4168:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long int)’
 _LIBCPP_FUNC_VIS string to_string(long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4166:25: note: previous declaration ‘std::__1::string std::__1::to_string(int)’
 _LIBCPP_FUNC_VIS string to_string(int __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4169:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4168:25: note: previous declaration ‘std::__1::string std::__1::to_string(long int)’
 _LIBCPP_FUNC_VIS string to_string(long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4169:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4167:25: note: previous declaration ‘std::__1::string std::__1::to_string(unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4169:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4166:25: note: previous declaration ‘std::__1::string std::__1::to_string(int)’
 _LIBCPP_FUNC_VIS string to_string(int __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4170:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long long int)’
 _LIBCPP_FUNC_VIS string to_string(long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4169:25: note: previous declaration ‘std::__1::string std::__1::to_string(long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4170:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long long int)’
 _LIBCPP_FUNC_VIS string to_string(long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4168:25: note: previous declaration ‘std::__1::string std::__1::to_string(long int)’
 _LIBCPP_FUNC_VIS string to_string(long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4170:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long long int)’
 _LIBCPP_FUNC_VIS string to_string(long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4167:25: note: previous declaration ‘std::__1::string std::__1::to_string(unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4170:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long long int)’
 _LIBCPP_FUNC_VIS string to_string(long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4166:25: note: previous declaration ‘std::__1::string std::__1::to_string(int)’
 _LIBCPP_FUNC_VIS string to_string(int __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4171:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4170:25: note: previous declaration ‘std::__1::string std::__1::to_string(long long int)’
 _LIBCPP_FUNC_VIS string to_string(long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4171:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4169:25: note: previous declaration ‘std::__1::string std::__1::to_string(long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4171:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4168:25: note: previous declaration ‘std::__1::string std::__1::to_string(long int)’
 _LIBCPP_FUNC_VIS string to_string(long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4171:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4167:25: note: previous declaration ‘std::__1::string std::__1::to_string(unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4171:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4166:25: note: previous declaration ‘std::__1::string std::__1::to_string(int)’
 _LIBCPP_FUNC_VIS string to_string(int __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4172:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(float)’
 _LIBCPP_FUNC_VIS string to_string(float __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4171:25: note: previous declaration ‘std::__1::string std::__1::to_string(long long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4172:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(float)’
 _LIBCPP_FUNC_VIS string to_string(float __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4170:25: note: previous declaration ‘std::__1::string std::__1::to_string(long long int)’
 _LIBCPP_FUNC_VIS string to_string(long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4172:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(float)’
 _LIBCPP_FUNC_VIS string to_string(float __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4169:25: note: previous declaration ‘std::__1::string std::__1::to_string(long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4172:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(float)’
 _LIBCPP_FUNC_VIS string to_string(float __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4168:25: note: previous declaration ‘std::__1::string std::__1::to_string(long int)’
 _LIBCPP_FUNC_VIS string to_string(long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4172:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(float)’
 _LIBCPP_FUNC_VIS string to_string(float __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4167:25: note: previous declaration ‘std::__1::string std::__1::to_string(unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4172:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(float)’
 _LIBCPP_FUNC_VIS string to_string(float __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4166:25: note: previous declaration ‘std::__1::string std::__1::to_string(int)’
 _LIBCPP_FUNC_VIS string to_string(int __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4173:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(double)’
 _LIBCPP_FUNC_VIS string to_string(double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4172:25: note: previous declaration ‘std::__1::string std::__1::to_string(float)’
 _LIBCPP_FUNC_VIS string to_string(float __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4173:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(double)’
 _LIBCPP_FUNC_VIS string to_string(double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4171:25: note: previous declaration ‘std::__1::string std::__1::to_string(long long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4173:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(double)’
 _LIBCPP_FUNC_VIS string to_string(double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4170:25: note: previous declaration ‘std::__1::string std::__1::to_string(long long int)’
 _LIBCPP_FUNC_VIS string to_string(long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4173:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(double)’
 _LIBCPP_FUNC_VIS string to_string(double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4169:25: note: previous declaration ‘std::__1::string std::__1::to_string(long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4173:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(double)’
 _LIBCPP_FUNC_VIS string to_string(double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4168:25: note: previous declaration ‘std::__1::string std::__1::to_string(long int)’
 _LIBCPP_FUNC_VIS string to_string(long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4173:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(double)’
 _LIBCPP_FUNC_VIS string to_string(double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4167:25: note: previous declaration ‘std::__1::string std::__1::to_string(unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4173:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(double)’
 _LIBCPP_FUNC_VIS string to_string(double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4166:25: note: previous declaration ‘std::__1::string std::__1::to_string(int)’
 _LIBCPP_FUNC_VIS string to_string(int __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4174:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long double)’
 _LIBCPP_FUNC_VIS string to_string(long double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4173:25: note: previous declaration ‘std::__1::string std::__1::to_string(double)’
 _LIBCPP_FUNC_VIS string to_string(double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4174:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long double)’
 _LIBCPP_FUNC_VIS string to_string(long double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4172:25: note: previous declaration ‘std::__1::string std::__1::to_string(float)’
 _LIBCPP_FUNC_VIS string to_string(float __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4174:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long double)’
 _LIBCPP_FUNC_VIS string to_string(long double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4171:25: note: previous declaration ‘std::__1::string std::__1::to_string(long long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4174:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long double)’
 _LIBCPP_FUNC_VIS string to_string(long double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4170:25: note: previous declaration ‘std::__1::string std::__1::to_string(long long int)’
 _LIBCPP_FUNC_VIS string to_string(long long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4174:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long double)’
 _LIBCPP_FUNC_VIS string to_string(long double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4169:25: note: previous declaration ‘std::__1::string std::__1::to_string(long unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4174:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long double)’
 _LIBCPP_FUNC_VIS string to_string(long double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4168:25: note: previous declaration ‘std::__1::string std::__1::to_string(long int)’
 _LIBCPP_FUNC_VIS string to_string(long __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4174:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long double)’
 _LIBCPP_FUNC_VIS string to_string(long double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4167:25: note: previous declaration ‘std::__1::string std::__1::to_string(unsigned int)’
 _LIBCPP_FUNC_VIS string to_string(unsigned __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4174:25: error: conflicting declaration of C function ‘std::__1::string std::__1::to_string(long double)’
 _LIBCPP_FUNC_VIS string to_string(long double __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4166:25: note: previous declaration ‘std::__1::string std::__1::to_string(int)’
 _LIBCPP_FUNC_VIS string to_string(int __val);
                         ^~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4176:37: error: conflicting declaration of C function ‘int std::__1::stoi(const wstring&, size_t*, int)’
 _LIBCPP_FUNC_VIS int                stoi  (const wstring& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~
/home/yongqin/sgxsdk/include/libcxx/string:4156:37: note: previous declaration ‘int std::__1::stoi(const string&, size_t*, int)’
 _LIBCPP_FUNC_VIS int                stoi  (const string& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~
/home/yongqin/sgxsdk/include/libcxx/string:4177:37: error: conflicting declaration of C function ‘long int std::__1::stol(const wstring&, size_t*, int)’
 _LIBCPP_FUNC_VIS long               stol  (const wstring& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~
/home/yongqin/sgxsdk/include/libcxx/string:4157:37: note: previous declaration ‘long int std::__1::stol(const string&, size_t*, int)’
 _LIBCPP_FUNC_VIS long               stol  (const string& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~
/home/yongqin/sgxsdk/include/libcxx/string:4178:37: error: conflicting declaration of C function ‘long unsigned int std::__1::stoul(const wstring&, size_t*, int)’
 _LIBCPP_FUNC_VIS unsigned long      stoul (const wstring& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4158:37: note: previous declaration ‘long unsigned int std::__1::stoul(const string&, size_t*, int)’
 _LIBCPP_FUNC_VIS unsigned long      stoul (const string& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4179:37: error: conflicting declaration of C function ‘long long int std::__1::stoll(const wstring&, size_t*, int)’
 _LIBCPP_FUNC_VIS long long          stoll (const wstring& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4159:37: note: previous declaration ‘long long int std::__1::stoll(const string&, size_t*, int)’
 _LIBCPP_FUNC_VIS long long          stoll (const string& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4180:37: error: conflicting declaration of C function ‘long long unsigned int std::__1::stoull(const wstring&, size_t*, int)’
 _LIBCPP_FUNC_VIS unsigned long long stoull(const wstring& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4160:37: note: previous declaration ‘long long unsigned int std::__1::stoull(const string&, size_t*, int)’
 _LIBCPP_FUNC_VIS unsigned long long stoull(const string& __str, size_t* __idx = 0, int __base = 10);
                                     ^~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4182:30: error: conflicting declaration of C function ‘float std::__1::stof(const wstring&, size_t*)’
 _LIBCPP_FUNC_VIS float       stof (const wstring& __str, size_t* __idx = 0);
                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/string:4162:30: note: previous declaration ‘float std::__1::stof(const string&, size_t*)’
 _LIBCPP_FUNC_VIS float       stof (const string& __str, size_t* __idx = 0);
                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/string:4183:30: error: conflicting declaration of C function ‘double std::__1::stod(const wstring&, size_t*)’
 _LIBCPP_FUNC_VIS double      stod (const wstring& __str, size_t* __idx = 0);
                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/string:4163:30: note: previous declaration ‘double std::__1::stod(const string&, size_t*)’
 _LIBCPP_FUNC_VIS double      stod (const string& __str, size_t* __idx = 0);
                              ^~~~
/home/yongqin/sgxsdk/include/libcxx/string:4184:30: error: conflicting declaration of C function ‘long double std::__1::stold(const wstring&, size_t*)’
 _LIBCPP_FUNC_VIS long double stold(const wstring& __str, size_t* __idx = 0);
                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4164:30: note: previous declaration ‘long double std::__1::stold(const string&, size_t*)’
 _LIBCPP_FUNC_VIS long double stold(const string& __str, size_t* __idx = 0);
                              ^~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4187:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4186:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(int __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4188:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4187:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4188:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4186:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(int __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4189:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4188:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4189:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4187:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4189:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4186:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(int __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4190:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4189:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4190:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4188:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4190:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4187:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4190:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4186:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(int __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4191:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4190:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4191:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4189:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4191:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4188:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4191:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4187:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4191:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4186:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(int __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4192:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(float)’
 _LIBCPP_FUNC_VIS wstring to_wstring(float __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4191:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4192:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(float)’
 _LIBCPP_FUNC_VIS wstring to_wstring(float __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4190:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4192:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(float)’
 _LIBCPP_FUNC_VIS wstring to_wstring(float __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4189:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4192:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(float)’
 _LIBCPP_FUNC_VIS wstring to_wstring(float __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4188:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4192:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(float)’
 _LIBCPP_FUNC_VIS wstring to_wstring(float __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4187:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4192:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(float)’
 _LIBCPP_FUNC_VIS wstring to_wstring(float __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4186:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(int __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4193:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4192:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(float)’
 _LIBCPP_FUNC_VIS wstring to_wstring(float __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4193:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4191:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4193:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4190:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4193:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4189:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4193:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4188:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4193:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4187:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4193:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4186:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(int __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4194:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4193:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4194:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4192:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(float)’
 _LIBCPP_FUNC_VIS wstring to_wstring(float __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4194:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4191:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4194:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4190:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4194:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4189:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4194:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4188:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(long int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4194:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4187:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(unsigned int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(unsigned __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4194:26: error: conflicting declaration of C function ‘std::__1::wstring std::__1::to_wstring(long double)’
 _LIBCPP_FUNC_VIS wstring to_wstring(long double __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4186:26: note: previous declaration ‘std::__1::wstring std::__1::to_wstring(int)’
 _LIBCPP_FUNC_VIS wstring to_wstring(int __val);
                          ^~~~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4196:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4200:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
/home/yongqin/sgxsdk/include/libcxx/string:4208:1: error: template with C linkage
 template<class _CharT, class _Traits, class _Allocator>
 ^~~~~~~~
In file included from Enclave/Enclave.h:14:0,
                 from Enclave/Enclave.cpp:6:
Enclave/conv2d_sp.hpp: In constructor ‘Conv2d::Conv2d(int*, int*, int*, int*, int*, dnnl::memory::desc, dnnl::engine, dnnl::stream, float*, float*, bool, bool)’:
Enclave/conv2d_sp.hpp:43:9: error: ‘printf’ was not declared in this scope
         printf("conv src %d, %d, %d, %d", conv_src_sz[0], conv_src_sz[1], conv_src_sz[2], conv_src_sz[3]);
         ^~~~~~
Enclave/conv2d_sp.hpp:43:9: note: suggested alternative: ‘rintf’
         printf("conv src %d, %d, %d, %d", conv_src_sz[0], conv_src_sz[1], conv_src_sz[2], conv_src_sz[3]);
         ^~~~~~
         rintf
In file included from Enclave/Enclave.h:14:0,
                 from Enclave/Enclave.cpp:6:
Enclave/conv2d_sp.hpp: In member function ‘virtual void Conv2d::update_backward(dnnl::memory::desc)’:
Enclave/conv2d_sp.hpp:178:9: error: ‘printf’ was not declared in this scope
         printf("conv update_backward 0 %d", diff_dst_tag.get_size());
         ^~~~~~
Enclave/conv2d_sp.hpp:178:9: note: suggested alternative: ‘rintf’
         printf("conv update_backward 0 %d", diff_dst_tag.get_size());
         ^~~~~~
         rintf
In file included from Enclave/Enclave.cpp:6:0:
Enclave/Enclave.h: At global scope:
Enclave/Enclave.h:16:6: warning: declaration of ‘void printf(const char*, ...)’ conflicts with built-in declaration ‘int printf(const char*, ...)’ [-Wbuiltin-declaration-mismatch]
 void printf(const char *fmt, ...);
      ^~~~~~
In file included from Enclave/Enclave.cpp:11:0:
Enclave/batchnorm_sp.h: In destructor ‘BatchNormSP::~BatchNormSP()’:
Enclave/batchnorm_sp.h:28:28: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete]
     ~BatchNormSP() {delete batchnorm_;}
                            ^~~~~~~~~~
In file included from Enclave/Enclave.cpp:12:0:
Enclave/depthwise_sp.h: In destructor ‘DepthwiseConv2dSp::~DepthwiseConv2dSp()’:
Enclave/depthwise_sp.h:27:34: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete]
     ~DepthwiseConv2dSp() {delete depthwise_;}
                                  ^~~~~~~~~~
In file included from Enclave/Enclave.cpp:18:0:
Enclave/linear_sp.h: In destructor ‘LinearSp::~LinearSp()’:
Enclave/linear_sp.h:25:25: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete]
     ~LinearSp() {delete linear_;}
                         ^~~~~~~
Makefile:232: recipe for target 'Enclave/Enclave.o' failed
make: *** [Enclave/Enclave.o] Error 1
