Control: tags -1 help Hi,
I wonder why static_cast<unsigned>(c) < 256 triggers a "error: comparison is always true due to limited range of data type [-Werror=type-limits]" only on arm64 but not on amd64. Any hint how to fix this bug would be welcome. Kind regards Andreas. On Sat, Dec 05, 2020 at 01:21:26PM +0100, Lucas Nussbaum wrote: > Source: libcereal > Version: 1.3.0-3 > Severity: serious > Justification: FTBFS on arm64 > Tags: bullseye sid ftbfs > Usertags: ftbfs-20201205 ftbfs-bullseye > > Hi, > > During a rebuild of all packages in sid, your package failed to build > on arm64 (I don't know if it also fails on amd64). > > Relevant part (hopefully): > > cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/unittests && /usr/bin/c++ > > -I/<<PKGBUILDDIR>>/./include -Werror -Wall -g -Wextra -Wshadow -pedantic > > -Wold-style-cast -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > > -D_FORTIFY_SOURCE=2 -std=gnu++11 -o > > CMakeFiles/test_structs.dir/structs.cpp.o -c > > /<<PKGBUILDDIR>>/unittests/structs.cpp > > In file included from > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/prettywriter.h:18, > > from > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:64, > > from /<<PKGBUILDDIR>>/unittests/common.hpp:55, > > from /<<PKGBUILDDIR>>/unittests/structs.hpp:29, > > from /<<PKGBUILDDIR>>/unittests/structs.cpp:28: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/writer.h: In > > instantiation of ‘bool rapidjson::Writer<OutputStream, SourceEncoding, > > TargetEncoding, StackAllocator, writeFlags>::WriteString(const Ch*, > > rapidjson::SizeType) [with OutputStream = > > rapidjson::BasicOStreamWrapper<std::basic_ostream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; unsigned int writeFlags = 2; > > rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, > > StackAllocator, writeFlags>::Ch = char; rapidjson::SizeType = unsigned > > int]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/prettywriter.h:114:48: > > required from ‘bool rapidjson::PrettyWriter<OutputStream, SourceEncoding, > > TargetEncoding, StackAllocator, writeFlags>::String(const Ch*, > > rapidjson::SizeType, bool) [with OutputStream = > > rapidjson::BasicOStreamWrapper<std::basic_ostream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; unsigned int writeFlags = 2; > > rapidjson::PrettyWriter<OutputStream, SourceEncoding, TargetEncoding, > > StackAllocator, writeFlags>::Ch = char; rapidjson::SizeType = unsigned int]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:258:136: required > > from here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/writer.h:430:67: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 430 | else if ((sizeof(Ch) == 1 || static_cast<unsigned>(c) < > > 256) && CEREAL_RAPIDJSON_UNLIKELY(escape[static_cast<unsigned char>(c)])) { > > | > > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ > > In file included from > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/prettywriter.h:18, > > from > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:64, > > from /<<PKGBUILDDIR>>/unittests/common.hpp:55, > > from /<<PKGBUILDDIR>>/unittests/stack.hpp:29, > > from /<<PKGBUILDDIR>>/unittests/stack.cpp:28: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/writer.h: In > > instantiation of ‘bool rapidjson::Writer<OutputStream, SourceEncoding, > > TargetEncoding, StackAllocator, writeFlags>::WriteString(const Ch*, > > rapidjson::SizeType) [with OutputStream = > > rapidjson::BasicOStreamWrapper<std::basic_ostream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; unsigned int writeFlags = 2; > > rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, > > StackAllocator, writeFlags>::Ch = char; rapidjson::SizeType = unsigned > > int]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/prettywriter.h:114:48: > > required from ‘bool rapidjson::PrettyWriter<OutputStream, SourceEncoding, > > TargetEncoding, StackAllocator, writeFlags>::String(const Ch*, > > rapidjson::SizeType, bool) [with OutputStream = > > rapidjson::BasicOStreamWrapper<std::basic_ostream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; unsigned int writeFlags = 2; > > rapidjson::PrettyWriter<OutputStream, SourceEncoding, TargetEncoding, > > StackAllocator, writeFlags>::Ch = char; rapidjson::SizeType = unsigned int]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:258:136: required > > from here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/writer.h:430:67: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 430 | else if ((sizeof(Ch) == 1 || static_cast<unsigned>(c) < > > 256) && CEREAL_RAPIDJSON_UNLIKELY(escape[static_cast<unsigned char>(c)])) { > > | > > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ > > In file included from > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/prettywriter.h:18, > > from > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:64, > > from /<<PKGBUILDDIR>>/unittests/common.hpp:55, > > from /<<PKGBUILDDIR>>/unittests/queue.hpp:29, > > from /<<PKGBUILDDIR>>/unittests/queue.cpp:28: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/writer.h: In > > instantiation of ‘bool rapidjson::Writer<OutputStream, SourceEncoding, > > TargetEncoding, StackAllocator, writeFlags>::WriteString(const Ch*, > > rapidjson::SizeType) [with OutputStream = > > rapidjson::BasicOStreamWrapper<std::basic_ostream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; unsigned int writeFlags = 2; > > rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, > > StackAllocator, writeFlags>::Ch = char; rapidjson::SizeType = unsigned > > int]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/prettywriter.h:114:48: > > required from ‘bool rapidjson::PrettyWriter<OutputStream, SourceEncoding, > > TargetEncoding, StackAllocator, writeFlags>::String(const Ch*, > > rapidjson::SizeType, bool) [with OutputStream = > > rapidjson::BasicOStreamWrapper<std::basic_ostream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; unsigned int writeFlags = 2; > > rapidjson::PrettyWriter<OutputStream, SourceEncoding, TargetEncoding, > > StackAllocator, writeFlags>::Ch = char; rapidjson::SizeType = unsigned int]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:258:136: required > > from here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/writer.h:430:67: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 430 | else if ((sizeof(Ch) == 1 || static_cast<unsigned>(c) < > > 256) && CEREAL_RAPIDJSON_UNLIKELY(escape[static_cast<unsigned char>(c)])) { > > | > > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ > > In file included from > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/prettywriter.h:18, > > from > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:64, > > from /<<PKGBUILDDIR>>/unittests/common.hpp:55, > > from /<<PKGBUILDDIR>>/unittests/tuple.hpp:29, > > from /<<PKGBUILDDIR>>/unittests/tuple.cpp:28: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/writer.h: In > > instantiation of ‘bool rapidjson::Writer<OutputStream, SourceEncoding, > > TargetEncoding, StackAllocator, writeFlags>::WriteString(const Ch*, > > rapidjson::SizeType) [with OutputStream = > > rapidjson::BasicOStreamWrapper<std::basic_ostream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; unsigned int writeFlags = 2; > > rapidjson::Writer<OutputStream, SourceEncoding, TargetEncoding, > > StackAllocator, writeFlags>::Ch = char; rapidjson::SizeType = unsigned > > int]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/prettywriter.h:114:48: > > required from ‘bool rapidjson::PrettyWriter<OutputStream, SourceEncoding, > > TargetEncoding, StackAllocator, writeFlags>::String(const Ch*, > > rapidjson::SizeType, bool) [with OutputStream = > > rapidjson::BasicOStreamWrapper<std::basic_ostream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; unsigned int writeFlags = 2; > > rapidjson::PrettyWriter<OutputStream, SourceEncoding, TargetEncoding, > > StackAllocator, writeFlags>::Ch = char; rapidjson::SizeType = unsigned int]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:258:136: required > > from here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/writer.h:430:67: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 430 | else if ((sizeof(Ch) == 1 || static_cast<unsigned>(c) < > > 256) && CEREAL_RAPIDJSON_UNLIKELY(escape[static_cast<unsigned char>(c)])) { > > | > > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ > > In file included from > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:20, > > from > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:67, > > from /<<PKGBUILDDIR>>/unittests/common.hpp:55, > > from /<<PKGBUILDDIR>>/unittests/structs.hpp:29, > > from /<<PKGBUILDDIR>>/unittests/structs.cpp:28: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Token rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, > > StackAllocator>::Tokenize(rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::Ch) const [with SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::Ch = char]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:2184:23: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:559:46: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1822:57: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 1822 | if (sizeof(Ch) == 1 || static_cast<unsigned>(c) < 256) > > | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseStringToStream(InputStream&, > > OutputStream&) [with unsigned int parseFlags = 272; SEncoding = > > rapidjson::UTF8<>; TEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; OutputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:967:76: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseString(InputStream&, Handler&, bool) > > [with unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1741:46: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseValue(InputStream&, Handler&) [with > > unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:573:35: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1012:53: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 1012 | if ((sizeof(Ch) == 1 || unsigned(e) < 256) && > > CEREAL_RAPIDJSON_LIKELY(escape[static_cast<unsigned char>(e)])) { > > | ~~~~~~~~~~~~^~~~~ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseStringToStream(InputStream&, > > OutputStream&) [with unsigned int parseFlags = 272; SEncoding = > > rapidjson::UTF8<>; TEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; OutputStream = > > rapidjson::GenericReader<rapidjson::UTF8<>, rapidjson::UTF8<> > > >::StackStream<char>; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = > > rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:976:76: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseString(InputStream&, Handler&, bool) > > [with unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1741:46: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseValue(InputStream&, Handler&) [with > > unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:573:35: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1012:53: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > In file included from > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:20, > > from > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:67, > > from /<<PKGBUILDDIR>>/unittests/common.hpp:55, > > from /<<PKGBUILDDIR>>/unittests/queue.hpp:29, > > from /<<PKGBUILDDIR>>/unittests/queue.cpp:28: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Token rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, > > StackAllocator>::Tokenize(rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::Ch) const [with SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::Ch = char]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:2184:23: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:559:46: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1822:57: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 1822 | if (sizeof(Ch) == 1 || static_cast<unsigned>(c) < 256) > > | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ > > In file included from > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:20, > > from > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:67, > > from /<<PKGBUILDDIR>>/unittests/common.hpp:55, > > from /<<PKGBUILDDIR>>/unittests/stack.hpp:29, > > from /<<PKGBUILDDIR>>/unittests/stack.cpp:28: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Token rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, > > StackAllocator>::Tokenize(rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::Ch) const [with SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::Ch = char]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:2184:23: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:559:46: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1822:57: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 1822 | if (sizeof(Ch) == 1 || static_cast<unsigned>(c) < 256) > > | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseStringToStream(InputStream&, > > OutputStream&) [with unsigned int parseFlags = 272; SEncoding = > > rapidjson::UTF8<>; TEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; OutputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:967:76: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseString(InputStream&, Handler&, bool) > > [with unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1741:46: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseValue(InputStream&, Handler&) [with > > unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:573:35: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1012:53: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 1012 | if ((sizeof(Ch) == 1 || unsigned(e) < 256) && > > CEREAL_RAPIDJSON_LIKELY(escape[static_cast<unsigned char>(e)])) { > > | ~~~~~~~~~~~~^~~~~ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseStringToStream(InputStream&, > > OutputStream&) [with unsigned int parseFlags = 272; SEncoding = > > rapidjson::UTF8<>; TEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; OutputStream = > > rapidjson::GenericReader<rapidjson::UTF8<>, rapidjson::UTF8<> > > >::StackStream<char>; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = > > rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:976:76: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseString(InputStream&, Handler&, bool) > > [with unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1741:46: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseValue(InputStream&, Handler&) [with > > unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:573:35: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1012:53: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseStringToStream(InputStream&, > > OutputStream&) [with unsigned int parseFlags = 272; SEncoding = > > rapidjson::UTF8<>; TEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; OutputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:967:76: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseString(InputStream&, Handler&, bool) > > [with unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1741:46: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseValue(InputStream&, Handler&) [with > > unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:573:35: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1012:53: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 1012 | if ((sizeof(Ch) == 1 || unsigned(e) < 256) && > > CEREAL_RAPIDJSON_LIKELY(escape[static_cast<unsigned char>(e)])) { > > | ~~~~~~~~~~~~^~~~~ > > In file included from > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:20, > > from > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:67, > > from /<<PKGBUILDDIR>>/unittests/common.hpp:55, > > from /<<PKGBUILDDIR>>/unittests/tuple.hpp:29, > > from /<<PKGBUILDDIR>>/unittests/tuple.cpp:28: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Token rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, > > StackAllocator>::Tokenize(rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::Ch) const [with SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator; rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::Ch = char]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:2184:23: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:559:46: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1822:57: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 1822 | if (sizeof(Ch) == 1 || static_cast<unsigned>(c) < 256) > > | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseStringToStream(InputStream&, > > OutputStream&) [with unsigned int parseFlags = 272; SEncoding = > > rapidjson::UTF8<>; TEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; OutputStream = > > rapidjson::GenericReader<rapidjson::UTF8<>, rapidjson::UTF8<> > > >::StackStream<char>; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = > > rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:976:76: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseString(InputStream&, Handler&, bool) > > [with unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1741:46: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseValue(InputStream&, Handler&) [with > > unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:573:35: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1012:53: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseStringToStream(InputStream&, > > OutputStream&) [with unsigned int parseFlags = 272; SEncoding = > > rapidjson::UTF8<>; TEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; OutputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:967:76: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseString(InputStream&, Handler&, bool) > > [with unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1741:46: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseValue(InputStream&, Handler&) [with > > unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:573:35: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1012:53: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > 1012 | if ((sizeof(Ch) == 1 || unsigned(e) < 256) && > > CEREAL_RAPIDJSON_LIKELY(escape[static_cast<unsigned char>(e)])) { > > | ~~~~~~~~~~~~^~~~~ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h: In > > instantiation of ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseStringToStream(InputStream&, > > OutputStream&) [with unsigned int parseFlags = 272; SEncoding = > > rapidjson::UTF8<>; TEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; OutputStream = > > rapidjson::GenericReader<rapidjson::UTF8<>, rapidjson::UTF8<> > > >::StackStream<char>; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = > > rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]’: > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:976:76: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseString(InputStream&, Handler&, bool) > > [with unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1741:46: > > required from ‘void rapidjson::GenericReader<SourceEncoding, > > TargetEncoding, StackAllocator>::ParseValue(InputStream&, Handler&) [with > > unsigned int parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:573:35: > > required from ‘rapidjson::ParseResult > > rapidjson::GenericReader<SourceEncoding, TargetEncoding, > > StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int > > parseFlags = 272; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Handler = > > rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = > > rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = > > rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2263:57: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = > > 272; SourceEncoding = rapidjson::UTF8<>; InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/document.h:2289:70: > > required from ‘rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, > > StackAllocator>::ParseStream(InputStream&) [with InputStream = > > rapidjson::BasicIStreamWrapper<std::basic_istream<char> >; Encoding = > > rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; > > StackAllocator = rapidjson::CrtAllocator]’ > > /<<PKGBUILDDIR>>/./include/cereal/archives/json.hpp:440:48: required from > > here > > /<<PKGBUILDDIR>>/./include/cereal/external/rapidjson/reader.h:1012:53: > > error: comparison is always true due to limited range of data type > > [-Werror=type-limits] > > cc1plus: all warnings being treated as errors > > make[4]: *** [unittests/CMakeFiles/test_structs.dir/build.make:85: > > unittests/CMakeFiles/test_structs.dir/structs.cpp.o] Error 1 > > The full build log is available from: > http://qa-logs.debian.net/2020/12/05/libcereal_1.3.0-3_unstable.log > > A list of current common problems and possible solutions is available at > http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! > > If you reassign this bug to another package, please marking it as > 'affects'-ing > this package. See https://www.debian.org/Bugs/server-control#affects > > If you fail to reproduce this, please provide a build log and diff it with me > so that we can identify if something relevant changed in the meantime. > > About the archive rebuild: The rebuild was done on EC2 VM instances from > Amazon Web Services, using a clean, minimal and up-to-date chroot. Every > failed build was retried once to eliminate random failures. > > _______________________________________________ > Debian-med-packaging mailing list > debian-med-packag...@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging -- http://fam-tille.de