Configured with:
CC=gcc CXX=g++ cmake .. -DZTD_TEXT_TESTS=ON -DZTD_TEXT_EXAMPLES=ON -DZTD_TEXT_GENERATE_SINGLE=ON -GNinja
g++ (GCC) 11.1.1 20210531 (Red Hat 11.1.1-3)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
CMake Output
-- The C compiler identification is GNU 11.1.1
-- The CXX compiler identification is GNU 11.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CXX_CHECK_FLAG_DISABLE_PERMISSIVE
-- Performing Test CXX_CHECK_FLAG_DISABLE_PERMISSIVE - Success
-- Performing Test C_CHECK_FLAG_DISABLE_PERMISSIVE
-- Performing Test C_CHECK_FLAG_DISABLE_PERMISSIVE - Success
-- Performing Test CXX_CHECK_FLAG_WARN_PEDANTIC
-- Performing Test CXX_CHECK_FLAG_WARN_PEDANTIC - Success
-- Performing Test C_CHECK_FLAG_WARN_PEDANTIC
-- Performing Test C_CHECK_FLAG_WARN_PEDANTIC - Success
-- Performing Test CXX_CHECK_FLAG_WARN_ALL
-- Performing Test CXX_CHECK_FLAG_WARN_ALL - Success
-- Performing Test C_CHECK_FLAG_WARN_ALL
-- Performing Test C_CHECK_FLAG_WARN_ALL - Success
-- Performing Test CXX_CHECK_FLAG_WARN_ERRORS
-- Performing Test CXX_CHECK_FLAG_WARN_ERRORS - Success
-- Performing Test C_CHECK_FLAG_WARN_ERRORS
-- Performing Test C_CHECK_FLAG_WARN_ERRORS - Success
-- Performing Test CXX_CHECK_FLAG_UTF8_LITERAL_ENCODING
-- Performing Test CXX_CHECK_FLAG_UTF8_LITERAL_ENCODING - Success
-- Performing Test C_CHECK_FLAG_UTF8_LITERAL_ENCODING
-- Performing Test C_CHECK_FLAG_UTF8_LITERAL_ENCODING - Success
-- Performing Test CXX_CHECK_FLAG_UTF8_SOURCE_ENCODING
-- Performing Test CXX_CHECK_FLAG_UTF8_SOURCE_ENCODING - Success
-- Performing Test C_CHECK_FLAG_UTF8_SOURCE_ENCODING
-- Performing Test C_CHECK_FLAG_UTF8_SOURCE_ENCODING - Success
-- Performing Test CXX_CHECK_FLAG_EXTRA_CONSTEXPR_DEPTH
-- Performing Test CXX_CHECK_FLAG_EXTRA_CONSTEXPR_DEPTH - Success
-- Performing Test C_CHECK_FLAG_EXTRA_CONSTEXPR_DEPTH
-- Performing Test C_CHECK_FLAG_EXTRA_CONSTEXPR_DEPTH - Failed
-- Performing Test CXX_CHECK_FLAG_EXTRA_CONSTEXPR_STEPS
-- Performing Test CXX_CHECK_FLAG_EXTRA_CONSTEXPR_STEPS - Success
-- Performing Test C_CHECK_FLAG_EXTRA_CONSTEXPR_STEPS
-- Performing Test C_CHECK_FLAG_EXTRA_CONSTEXPR_STEPS - Failed
-- Performing Test CXX_CHECK_FLAG_TEMPLATE_DEBUGGING_MODE
-- Performing Test CXX_CHECK_FLAG_TEMPLATE_DEBUGGING_MODE - Success
-- Performing Test C_CHECK_FLAG_TEMPLATE_DEBUGGING_MODE
-- Performing Test C_CHECK_FLAG_TEMPLATE_DEBUGGING_MODE - Failed
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9.6", minimum required is "3")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/text/build
[3/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o -c ../tests/basic_run_time/source/detail/encoding_name.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/is_ignorable_error_handler.hpp:38,
from ../include/ztd/text/utf8.hpp:41,
from ../include/ztd/text/detail/encoding_name.hpp:38,
from ../tests/basic_run_time/source/detail/encoding_name.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
Full build output
[0/2] Re-checking globbed directories...
[2/162] Generating include/ztd/text.hpp, include/ztd/text/forward.hpp
Current version: v0.0.1 (revision 811ecc2)
Project path: /tmp/text/single/../include
Creating single header for ztd.text
processing /tmp/text/include/ztd/text.hpp
processing /tmp/text/include/ztd/text/version.hpp
processing /tmp/text/include/ztd/text/forward.hpp
processing /tmp/text/include/ztd/text/encoding.hpp
processing /tmp/text/include/ztd/text/execution.hpp
processing /tmp/text/include/ztd/text/no_encoding.hpp
processing /tmp/text/include/ztd/text/code_point.hpp
processing /tmp/text/include/ztd/text/unicode_code_point.hpp
processing /tmp/text/include/ztd/text/type_traits.hpp
processing /tmp/text/include/ztd/text/detail/assert.hpp
processing /tmp/text/include/ztd/text/detail/unicode.hpp
processing /tmp/text/include/ztd/text/code_unit.hpp
processing /tmp/text/include/ztd/text/encode_result.hpp
processing /tmp/text/include/ztd/text/encoding_error.hpp
processing /tmp/text/include/ztd/text/detail/to_underlying.hpp
processing /tmp/text/include/ztd/text/detail/encoding_range.hpp
processing /tmp/text/include/ztd/text/state.hpp
processing /tmp/text/include/ztd/text/text_tag.hpp
processing /tmp/text/include/ztd/text/decode_result.hpp
processing /tmp/text/include/ztd/text/error_handler.hpp
processing /tmp/text/include/ztd/text/c_string_view.hpp
processing /tmp/text/include/ztd/text/basic_c_string_view.hpp
processing /tmp/text/include/ztd/text/is_code_points_replaceable.hpp
processing /tmp/text/include/ztd/text/is_code_units_replaceable.hpp
processing /tmp/text/include/ztd/text/is_unicode_code_point.hpp
processing /tmp/text/include/ztd/text/detail/pass_through_handler.hpp
processing /tmp/text/include/ztd/text/detail/forwarding_handler.hpp
processing /tmp/text/include/ztd/text/detail/transcode_one.hpp
processing /tmp/text/include/ztd/text/transcode_result.hpp
processing /tmp/text/include/ztd/text/validate_result.hpp
processing /tmp/text/include/ztd/text/count_result.hpp
processing /tmp/text/include/ztd/text/detail/is_lossless.hpp
processing /tmp/text/include/ztd/text/is_full_range_representable.hpp
processing /tmp/text/include/ztd/text/is_transcoding_compatible.hpp
processing /tmp/text/include/ztd/text/unicode_scalar_value.hpp
processing /tmp/text/include/ztd/text/detail/encoding_iterator_storage.hpp
processing /tmp/text/include/ztd/text/detail/span_or_reconstruct.hpp
processing /tmp/text/include/ztd/text/is_ignorable_error_handler.hpp
processing /tmp/text/include/ztd/text/detail/empty_state.hpp
processing /tmp/text/include/ztd/text/detail/execution_cuchar.hpp
processing /tmp/text/include/ztd/text/utf8.hpp
processing /tmp/text/include/ztd/text/detail/cast.hpp
processing /tmp/text/include/ztd/text/utf16.hpp
processing /tmp/text/include/ztd/text/detail/progress_handler.hpp
processing /tmp/text/include/ztd/text/detail/windows.hpp
processing /tmp/text/include/ztd/text/detail/posix.hpp
processing /tmp/text/include/ztd/text/detail/encoding_name.hpp
processing /tmp/text/include/ztd/text/utf32.hpp
processing /tmp/text/include/ztd/text/encoding_scheme.hpp
processing /tmp/text/include/ztd/text/is_bidirectional_encoding.hpp
processing /tmp/text/include/ztd/text/is_unicode_encoding.hpp
processing /tmp/text/include/ztd/text/ascii.hpp
processing /tmp/text/include/ztd/text/detail/replacement.hpp
processing /tmp/text/include/ztd/text/detail/execution_mac_os.hpp
processing /tmp/text/include/ztd/text/detail/execution_iconv.hpp
processing /tmp/text/include/ztd/text/wide_execution.hpp
processing /tmp/text/include/ztd/text/detail/wide_execution_windows.hpp
processing /tmp/text/include/ztd/text/detail/wide_execution_iso10646.hpp
processing /tmp/text/include/ztd/text/detail/wide_execution_iconv.hpp
processing /tmp/text/include/ztd/text/detail/wide_execution_cwchar.hpp
processing /tmp/text/include/ztd/text/literal.hpp
processing /tmp/text/include/ztd/text/wide_literal.hpp
processing /tmp/text/include/ztd/text/any_encoding.hpp
processing /tmp/text/include/ztd/text/default_encoding.hpp
processing /tmp/text/include/ztd/text/encode.hpp
processing /tmp/text/include/ztd/text/decode.hpp
processing /tmp/text/include/ztd/text/validate_decodable_as.hpp
processing /tmp/text/include/ztd/text/validate_encodable_as.hpp
processing /tmp/text/include/ztd/text/count_encodable.hpp
processing /tmp/text/include/ztd/text/count_decodable.hpp
processing /tmp/text/include/ztd/text/transcode.hpp
processing /tmp/text/include/ztd/text/detail/transcode_extension_points.hpp
processing /tmp/text/include/ztd/text/encode_view.hpp
processing /tmp/text/include/ztd/text/encode_iterator.hpp
processing /tmp/text/include/ztd/text/detail/encoding_iterator.hpp
processing /tmp/text/include/ztd/text/decode_view.hpp
processing /tmp/text/include/ztd/text/decode_iterator.hpp
processing /tmp/text/include/ztd/text/transcode_view.hpp
processing /tmp/text/include/ztd/text/transcode_iterator.hpp
processing /tmp/text/include/ztd/text/text_view.hpp
processing /tmp/text/include/ztd/text/basic_text_view.hpp
processing /tmp/text/include/ztd/text/normalization.hpp
processing /tmp/text/include/ztd/text/text.hpp
processing /tmp/text/include/ztd/text/basic_text.hpp
finished creating single header for ztd.text
Creating single forward declaration header for ztd.text
processing /tmp/text/include/ztd/text/forward.hpp
processing /tmp/text/include/ztd/text/version.hpp
finished creating single forward declaration header for ztd.text
writing /tmp/text/build/single/include/ztd/text.hpp...
writing /tmp/text/build/single/include/ztd/forward.hpp...
[3/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/detail/encoding_name.cpp.o -c ../tests/basic_run_time/source/detail/encoding_name.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/is_ignorable_error_handler.hpp:38,
from ../include/ztd/text/utf8.hpp:41,
from ../include/ztd/text/detail/encoding_name.hpp:38,
from ../tests/basic_run_time/source/detail/encoding_name.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
[4/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode.cpp.o -c ../tests/basic_run_time/source/decode.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/no_encoding.hpp:42,
from ../include/ztd/text/execution.hpp:38,
from ../include/ztd/text/default_encoding.hpp:38,
from ../include/ztd/text/decode.hpp:39,
from ../tests/basic_run_time/source/decode.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
[5/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode_view.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode_view.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode_view.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode_view.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/decode_view.cpp.o -c ../tests/basic_run_time/source/decode_view.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/decode_iterator.hpp:38,
from ../include/ztd/text/decode_view.hpp:38,
from ../tests/basic_run_time/source/decode_view.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
[6/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/encode.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/encode.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/encode.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/encode.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/encode.cpp.o -c ../tests/basic_run_time/source/encode.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/encode.hpp:40,
from ../tests/basic_run_time/source/encode.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
[7/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_encodable.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_encodable.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_encodable.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_encodable.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_encodable.cpp.o -c ../tests/basic_run_time/source/count_encodable.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/no_encoding.hpp:42,
from ../include/ztd/text/execution.hpp:38,
from ../include/ztd/text/default_encoding.hpp:38,
from ../include/ztd/text/count_encodable.hpp:39,
from ../tests/basic_run_time/source/count_encodable.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
[8/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_decodable.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_decodable.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_decodable.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_decodable.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_decodable.cpp.o -c ../tests/basic_run_time/source/count_decodable.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/no_encoding.hpp:42,
from ../include/ztd/text/execution.hpp:38,
from ../include/ztd/text/default_encoding.hpp:38,
from ../include/ztd/text/count_decodable.hpp:39,
from ../tests/basic_run_time/source/count_decodable.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
[9/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.encode.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.encode.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.encode.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.encode.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.encode.cpp.o -c ../tests/basic_run_time/source/any_encoding.encode.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/is_ignorable_error_handler.hpp:38,
from ../include/ztd/text/encoding_scheme.hpp:43,
from ../tests/basic_run_time/source/any_encoding.encode.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
[10/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_transcodable.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_transcodable.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_transcodable.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_transcodable.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/count_transcodable.cpp.o -c ../tests/basic_run_time/source/count_transcodable.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/no_encoding.hpp:42,
from ../include/ztd/text/execution.hpp:38,
from ../include/ztd/text/default_encoding.hpp:38,
from ../include/ztd/text/count_transcodable.hpp:39,
from ../tests/basic_run_time/source/count_transcodable.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
[11/162] Building CXX object tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.decode.cpp.o
FAILED: tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.decode.cpp.o
/usr/bin/g++ -DZTD_TEXT_COMPILE_TIME_ENCODING_NAME=\"UTF-8\" -I../tests/basic_run_time/../shared/include -I../include -Isingle/include -I_deps/ztd.idk-src/include -I_deps/catch2-src/single_include -fexec-charset=utf-8 -finput-charset=utf-8 -pedantic -Wall -Werror -std=gnu++17 -MD -MT tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.decode.cpp.o -MF tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.decode.cpp.o.d -o tests/basic_run_time/CMakeFiles/ztd.text.tests.basic_run_time.dir/source/any_encoding.decode.cpp.o -c ../tests/basic_run_time/source/any_encoding.decode.cpp
In file included from ../include/ztd/text/detail/transcode_one.hpp:56,
from ../include/ztd/text/error_handler.hpp:52,
from ../include/ztd/text/is_ignorable_error_handler.hpp:38,
from ../include/ztd/text/encoding_scheme.hpp:43,
from ../tests/basic_run_time/source/any_encoding.decode.cpp:31:
../include/ztd/ranges/unbounded.hpp:273:50: error: invalid use of ‘this’ at top level
273 | noexcept(ranges::advance(this->_M_it, __diff))) {
| ^~~~
../include/ztd/ranges/unbounded.hpp:287:49: error: invalid use of ‘this’ at top level
287 | noexcept(ranges::recede(this->_M_it, __diff))) {
| ^~~~
[12/162] Building CXX object _deps/catch2-build/CMakeFiles/Catch2WithMain.dir/src/catch_with_main.cpp.o
ninja: build stopped: subcommand failed.
CI is using GCC 9, which is why this hasn't come up. It's probably also worth testing clang there also, although it's Worked On My Machine (TM)