* installing *source* package ‘MixAll’ ... ** package ‘MixAll’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CppFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rtkore/include' -I/opt/R/arm64/include `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CxxFlags()"` -I../inst/include -I../inst/projects/ -fPIC -falign-functions=64 -Wall -g -O2 -c clusterMixedData.cpp -o clusterMixedData.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CppFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rtkore/include' -I/opt/R/arm64/include `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CxxFlags()"` -I../inst/include -I../inst/projects/ -fPIC -falign-functions=64 -Wall -g -O2 -c clusterMixture.cpp -o clusterMixture.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CppFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rtkore/include' -I/opt/R/arm64/include `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CxxFlags()"` -I../inst/include -I../inst/projects/ -fPIC -falign-functions=64 -Wall -g -O2 -c clusterPredict.cpp -o clusterPredict.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CppFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rtkore/include' -I/opt/R/arm64/include `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CxxFlags()"` -I../inst/include -I../inst/projects/ -fPIC -falign-functions=64 -Wall -g -O2 -c computeGramMatrix.cpp -o computeGramMatrix.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CppFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rtkore/include' -I/opt/R/arm64/include `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CxxFlags()"` -I../inst/include -I../inst/projects/ -fPIC -falign-functions=64 -Wall -g -O2 -c computeKernel.cpp -o computeKernel.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CppFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rtkore/include' -I/opt/R/arm64/include `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CxxFlags()"` -I../inst/include -I../inst/projects/ -fPIC -falign-functions=64 -Wall -g -O2 -c createKernel.cpp -o createKernel.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CppFlags()"` -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rtkore/include' -I/opt/R/arm64/include `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "rtkore:::CxxFlags()"` -I../inst/include -I../inst/projects/ -fPIC -falign-functions=64 -Wall -g -O2 -c init_MixAll.cpp -o init_MixAll.o In file included from init_MixAll.cpp:14: In file included from ./../inst/include/MixAll.h:46: In file included from /Library/Frameworks/R.framework/Resources/include/Rinternals.h:36: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:56:1: error: templates must have C++ linkage template <class _Tp> struct __libcpp_is_integral { enum { value = 0 }; }; ^~~~~~~~~~~~~~~~~~~~ ./../inst/include/MixAll.h:42:1: note: extern "C" language linkage specification begins here extern "C" ^ In file included from init_MixAll.cpp:14: In file included from ./../inst/include/MixAll.h:46: In file included from /Library/Frameworks/R.framework/Resources/include/Rinternals.h:36: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:57:29: error: explicit specialization of undeclared template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<bool> { enum { value = 1 }; }; ^ ~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:58:29: error: explicit specialization of non-template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<char> { enum { value = 1 }; }; ^ ~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:58:29: error: redefinition of '__libcpp_is_integral' /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:57:29: note: previous definition is here template <> struct __libcpp_is_integral<bool> { enum { value = 1 }; }; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:59:29: error: explicit specialization of non-template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<signed char> { enum { value = 1 }; }; ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:59:29: error: redefinition of '__libcpp_is_integral' /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:57:29: note: previous definition is here template <> struct __libcpp_is_integral<bool> { enum { value = 1 }; }; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:60:29: error: explicit specialization of non-template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<unsigned char> { enum { value = 1 }; }; ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:60:29: error: redefinition of '__libcpp_is_integral' /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:57:29: note: previous definition is here template <> struct __libcpp_is_integral<bool> { enum { value = 1 }; }; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:61:29: error: explicit specialization of non-template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<wchar_t> { enum { value = 1 }; }; ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:61:29: error: redefinition of '__libcpp_is_integral' /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:57:29: note: previous definition is here template <> struct __libcpp_is_integral<bool> { enum { value = 1 }; }; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:66:29: error: explicit specialization of non-template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<char16_t> { enum { value = 1 }; }; ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:66:29: error: redefinition of '__libcpp_is_integral' /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:57:29: note: previous definition is here template <> struct __libcpp_is_integral<bool> { enum { value = 1 }; }; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:67:29: error: explicit specialization of non-template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<char32_t> { enum { value = 1 }; }; ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:67:29: error: redefinition of '__libcpp_is_integral' /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:57:29: note: previous definition is here template <> struct __libcpp_is_integral<bool> { enum { value = 1 }; }; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:69:29: error: explicit specialization of non-template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<short> { enum { value = 1 }; }; ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:69:29: error: redefinition of '__libcpp_is_integral' /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:57:29: note: previous definition is here template <> struct __libcpp_is_integral<bool> { enum { value = 1 }; }; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:70:29: error: explicit specialization of non-template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<unsigned short> { enum { value = 1 }; }; ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:70:29: error: redefinition of '__libcpp_is_integral' /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:57:29: note: previous definition is here template <> struct __libcpp_is_integral<bool> { enum { value = 1 }; }; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:71:29: error: explicit specialization of non-template struct '__libcpp_is_integral' template <> struct __libcpp_is_integral<int> { enum { value = 1 }; }; ^ ~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [init_MixAll.o] Error 1 ERROR: compilation failed for package ‘MixAll’ * removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.3/MixAll.Rcheck/MixAll’