* installing *source* package ‘rncl’ ... ** this is package ‘rncl’ version ‘0.8.7’ ** package ‘rncl’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘Apple clang version 17.0.0 (clang-1700.6.3.2)’ using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.6.3.2)’ using SDK: ‘MacOSX26.2.sdk’ clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c GetNCL.cpp -o GetNCL.o In file included from GetNCL.cpp:3: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from GetNCL.cpp:3: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:30: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/r/headers.h:66: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/platform/compiler.h:39: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:592: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:22: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from GetNCL.cpp:3: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:30: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/r/headers.h:66: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/platform/compiler.h:37: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:319: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__math/hypot.h:21: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:537: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ 1 warning and 2 errors generated. make[1]: *** [GetNCL.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 1 warning generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c collapse_singles.cpp -o collapse_singles.o In file included from collapse_singles.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ collapse_singles.cpp:25:13: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'int' [-Wshorten-64-to-32] 25 | int j = count_if (tab_tips.begin(), tab_tips.end(), is_one); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from collapse_singles.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1082:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 1082 | RCPP_LOOP_UNROLL(start,other) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:21: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~ ^~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1068:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_expression' requested here 1068 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<13>::import_sugar_expression' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ collapse_singles.cpp:31:27: note: in instantiation of function template specialization 'Rcpp::Vector<13>::Vector' requested here 31 | Rcpp::IntegerVector v = Rcpp::seq(0, x.size()-1); | ^ In file included from collapse_singles.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1082:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 1082 | RCPP_LOOP_UNROLL(start,other) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:21: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~ ^~~~~~~~~ In file included from collapse_singles.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1082:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 1082 | RCPP_LOOP_UNROLL(start,other) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:21: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~ ^~~~~~~~~ In file included from collapse_singles.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1082:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 1082 | RCPP_LOOP_UNROLL(start,other) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:21: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~ ^~~~~~~~~ In file included from collapse_singles.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1082:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 1082 | RCPP_LOOP_UNROLL(start,other) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:19: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~ ^~~~~~~~~ In file included from collapse_singles.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1082:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 1082 | RCPP_LOOP_UNROLL(start,other) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:19: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~ ^~~~~~~~~ In file included from collapse_singles.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1082:32: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 1082 | RCPP_LOOP_UNROLL(start,other) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:19: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~ ^~~~~~~~~ In file included from collapse_singles.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:79: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:30: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/operators/operators.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/operators/Comparator_With_One_Value.h:45:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 45 | return (this->*m)(i) ; | ~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1082:32: note: in instantiation of member function 'Rcpp::sugar::Comparator_With_One_Value<13, Rcpp::sugar::equal<13>, true, Rcpp::Vector<13>>::operator[]' requested here 1082 | RCPP_LOOP_UNROLL(start,other) | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1068:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_expression, true, Rcpp::Vector<13>>>' requested here 1068 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<10>::import_sugar_expression, true, Rcpp::Vector<13>>>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:386:13: note: in instantiation of function template specialization 'Rcpp::Vector<10>::Vector, true, Rcpp::Vector<13>>>' requested here 386 | rhs | ^ collapse_singles.cpp:34:11: note: in instantiation of function template specialization 'Rcpp::Vector<13>::operator[]<10, true, Rcpp::sugar::Comparator_With_One_Value<13, Rcpp::sugar::equal<13>, true, Rcpp::Vector<13>>>' requested here 34 | return v[x == y]; | ^ 10 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsassumptionsblock.cpp -o nxsassumptionsblock.o In file included from nxsassumptionsblock.cpp:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iomanip:52: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/put_character_sequence.h:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale_dir/pad_and_output.h:16: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:223: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex/once_flag.h:21: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:1438: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:257: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxsassumptionsblock.cpp:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iomanip:52: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/put_character_sequence.h:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale_dir/pad_and_output.h:16: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:223: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_count.h:13: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/typeinfo:392: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ 2 errors generated. make[1]: *** [nxsassumptionsblock.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsblock.cpp -o nxsblock.o In file included from nxsblock.cpp:24: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 1 warning generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxscharactersblock.cpp -o nxscharactersblock.o In file included from nxscharactersblock.cpp:23: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iomanip:52: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/put_character_sequence.h:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale_dir/pad_and_output.h:16: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:223: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex/once_flag.h:21: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:1438: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:257: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxscharactersblock.cpp:23: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iomanip:52: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/put_character_sequence.h:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale_dir/pad_and_output.h:16: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:223: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_count.h:13: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/typeinfo:392: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ nxscharactersblock.cpp:1692:16: warning: variable 'colIndex' set but not used [-Wunused-but-set-variable] 1692 | for (unsigned colIndex = 0; rowIt != discreteMatrix.end(); ++colIndex, ++rowIt) | ^ nxscharactersblock.cpp:2074:103: warning: implicit conversion loses integer precision: 'int' to 'const key_type' (aka 'const char') [-Wimplicit-int-conversion] 2074 | || (! respectingCase && (userEquates.find(toupper(c)) != userEquates.end() || userEquates.find(tolower(*pp)) != userEquates.end()))) | ~~~~ ^~~~~~~~~~~~ nxscharactersblock.cpp:2074:50: warning: implicit conversion loses integer precision: 'int' to 'const key_type' (aka 'const char') [-Wimplicit-int-conversion] 2074 | || (! respectingCase && (userEquates.find(toupper(c)) != userEquates.end() || userEquates.find(tolower(*pp)) != userEquates.end()))) | ~~~~ ^~~~~~~~~~ nxscharactersblock.cpp:2542:18: warning: implicit conversion loses integer precision: 'int' to 'const char' [-Wimplicit-int-conversion] 2542 | const char u = toupper(c); | ~ ^~~~~~~~~~ nxscharactersblock.cpp:2578:18: warning: implicit conversion loses integer precision: 'int' to 'const char' [-Wimplicit-int-conversion] 2578 | const char u = toupper(c); | ~ ^~~~~~~~~~ nxscharactersblock.cpp:2600:18: warning: implicit conversion loses integer precision: 'int' to 'const char' [-Wimplicit-int-conversion] 2600 | const char u = toupper(c); | ~ ^~~~~~~~~~ nxscharactersblock.cpp:3355:34: warning: unused variable 'cit' [-Wunused-variable] 3355 | NxsStringVector::const_iterator cit; | ^~~ 7 warnings and 2 errors generated. make[1]: *** [nxscharactersblock.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxscxxdiscretematrix.cpp -o nxscxxdiscretematrix.o In file included from nxscxxdiscretematrix.cpp:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:693: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/istreambuf_iterator.h:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__string/char_traits.h:14: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find_end.h:19: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxscxxdiscretematrix.cpp:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:687: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/advance.h:26: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:537: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ nxscxxdiscretematrix.cpp:398:34: warning: implicit conversion loses integer precision: 'const unsigned int' to 'value_type' (aka 'signed char') [-Wimplicit-int-conversion] 398 | stateListAlias.push_back(nCodesInMissing); | ~~~~~~~~~ ^~~~~~~~~~~~~~~ nxscxxdiscretematrix.cpp:405:107: warning: implicit conversion loses integer precision: 'unsigned int' to 'NxsCDiscreteState_t' (aka 'signed char') [-Wimplicit-int-conversion] 405 | NxsCDiscreteState_t nextStateCode = (standardizeCoding ? (newMissingStateCode + 1) : this->nativeCMatrix.nStates); | ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~ nxscxxdiscretematrix.cpp:417:29: warning: implicit conversion loses integer precision: 'const unsigned int' to 'value_type' (aka 'signed char') [-Wimplicit-int-conversion] 417 | stateListAlias.push_back(ns); | ~~~~~~~~~ ^~ nxscxxdiscretematrix.cpp:432:78: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 432 | this->nativeCMatrix.nChar = (this->nativeCMatrix.nTax == 0 ? 0 : toInclude->size()); | ~ ~~~~~~~~~~~^~~~~~ 4 warnings and 2 errors generated. make[1]: *** [nxscxxdiscretematrix.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsdatablock.cpp -o nxsdatablock.o In file included from nxsdatablock.cpp:20: In file included from ./ncl/nxsdatablock.h:23: In file included from ./ncl/nxscharactersblock.h:23: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/sstream:323: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:18: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:20: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:22: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxsdatablock.cpp:20: In file included from ./ncl/nxsdatablock.h:23: In file included from ./ncl/nxscharactersblock.h:23: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/sstream:323: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:18: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:20: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:22: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:37: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:15: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ 2 errors generated. make[1]: *** [nxsdatablock.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsdistancedatum.cpp -o nxsdistancedatum.o In file included from nxsdistancedatum.cpp:20: In file included from ./ncl/ncl.h:44: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1839: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy.h:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy_move_common.h:13: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/unwrap_range.h:19: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxsdistancedatum.cpp:20: In file included from ./ncl/ncl.h:25: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:319: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__math/hypot.h:21: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:537: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ 2 errors generated. make[1]: *** [nxsdistancedatum.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsdistancesblock.cpp -o nxsdistancesblock.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsemptyblock.cpp -o nxsemptyblock.o In file included from nxsemptyblock.cpp:20: In file included from ./ncl/ncl.h:44: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1839: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy.h:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy_move_common.h:13: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/unwrap_range.h:19: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxsemptyblock.cpp:20: In file included from ./ncl/ncl.h:25: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:319: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__math/hypot.h:21: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:537: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ 2 errors generated. make[1]: *** [nxsemptyblock.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsexception.cpp -o nxsexception.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsmultiformat.cpp -o nxsmultiformat.o In file included from nxsmultiformat.cpp:48: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/fstream:198: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__filesystem/path.h:25: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:600: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:22: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxsmultiformat.cpp:48: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/fstream:198: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__filesystem/path.h:25: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:594: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/remove.h:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:16: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit/countr.h:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit/rotate.h:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:537: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ 2 errors generated. make[1]: *** [nxsmultiformat.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxspublicblocks.cpp -o nxspublicblocks.o In file included from nxspublicblocks.cpp:22: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/istream:169: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/istreambuf_iterator.h:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__string/char_traits.h:14: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find_end.h:19: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxspublicblocks.cpp:22: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/istream:169: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/istreambuf_iterator.h:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__string/char_traits.h:13: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/find.h:16: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit/countr.h:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit/rotate.h:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:537: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxspublicblocks.cpp:27: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from nxspublicblocks.cpp:27: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:50: /Users/ripley/R/Library/Rcpp/include/Rcpp/Language.h:192:81: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 192 | unary_call( Language call_, R_xlen_t index ) : call(call_), proxy(call_,index){} | ~~~~~ ^~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/Language.h:209:101: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 209 | binary_call( Language call_, R_xlen_t index1, R_xlen_t index2 ) : call(call_), proxy1(call_,index1), proxy2(call_,index2){} | ~~~~~~ ^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/Language.h:209:123: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 209 | binary_call( Language call_, R_xlen_t index1, R_xlen_t index2 ) : call(call_), proxy1(call_,index1), proxy2(call_,index2){} | ~~~~~~ ^~~~~~ In file included from nxspublicblocks.cpp:27: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:79: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:31: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/functions.h:59: /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/head.h:34:68: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 34 | Head( const VEC_TYPE& object_, R_xlen_t n_ ) : object(object_), n(n_) { | ~^~ 5 warnings and 2 errors generated. make[1]: *** [nxspublicblocks.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsreader.cpp -o nxsreader.o In file included from nxsreader.cpp:27: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from nxsreader.cpp:20: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1839: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy.h:12: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy_move_common.h:13: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/unwrap_range.h:19: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxsreader.cpp:20: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1838: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/binary_search.h:14: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/lower_bound.h:14: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/iterator_operations.h:16: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/advance.h:26: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:537: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ 1 warning and 2 errors generated. make[1]: *** [nxsreader.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxssetreader.cpp -o nxssetreader.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsstring.cpp -o nxsstring.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxstaxaassociationblock.cpp -o nxstaxaassociationblock.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxstaxablock.cpp -o nxstaxablock.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxstoken.cpp -o nxstoken.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxstreesblock.cpp -o nxstreesblock.o In file included from nxstreesblock.cpp:20: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 1 warning generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c nxsunalignedblock.cpp -o nxsunalignedblock.o In file included from nxsunalignedblock.cpp:21: In file included from ./ncl/nxsunalignedblock.h:23: In file included from ./ncl/nxsdefs.h:22: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:45: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:223: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:19: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex/once_flag.h:21: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:1438: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:257: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:71:7: error: field has incomplete type 'NxsDiscreteDatatypeMapper' 71 | _T1 first; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ In file included from nxsunalignedblock.cpp:21: In file included from ./ncl/nxsunalignedblock.h:23: In file included from ./ncl/nxsdefs.h:22: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:45: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:223: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_count.h:13: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/typeinfo:392: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:479: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:24:38: error: incomplete type 'NxsDiscreteDatatypeMapper' used in type trait expression 24 | : public integral_constant {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:34:44: note: in instantiation of template class 'std::is_trivially_copyable' requested here 34 | struct __libcpp_is_trivially_relocatable : is_trivially_copyable<_Tp> {}; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:75:23: note: in instantiation of template class 'std::__libcpp_is_trivially_relocatable' requested here 75 | __conditional_t<__libcpp_is_trivially_relocatable<_T1>::value && __libcpp_is_trivially_relocatable<_T2>::value, | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:385:48: note: in instantiation of template class 'std::pair>' requested here 385 | return static_cast(this->__end_ - this->__begin_); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:530:28: note: in instantiation of member function 'std::vector>>::size' requested here 530 | size_type __old_size = size(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:248:16: note: in instantiation of member function 'std::vector>>::clear' requested here 248 | __vec_.clear(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__vector/vector.h:259:67: note: in instantiation of member function 'std::vector>>::__destroy_vector::operator()' requested here 259 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector (*this)(); } | ^ ./ncl/nxscharactersblock.h:510:11: note: in instantiation of member function 'std::vector>>::~vector' requested here 510 | virtual ~NxsCharactersBlock() {} | ^ ./ncl/nxscharactersblock.h:34:7: note: forward declaration of 'NxsDiscreteDatatypeMapper' 34 | class NxsDiscreteDatatypeMapper; | ^ 2 errors generated. make[1]: *** [nxsunalignedblock.o] Error 1 clang -mmacos-version-min=26 -std=gnu23 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I. -DHAVE_INTTYPES_H -DASSERTS_TO_EXCEPTIONS -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/progress/include' -isystem /opt/R/arm64/include -fPIC -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -c rncl_init.c -o rncl_init.o make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘rncl’ * removing ‘/Users/ripley/R/packages/tests-devel/rncl.Rcheck/rncl’