Created
August 9, 2022 08:55
-
-
Save mariuszmaximus/8b75697ecd9bc4f63348898e6b061f2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[build] In file included from C:/msys64/mingw64/include/c++/12.1.0/map:60, | |
[build] from C:/msys64/mingw64/include/QtCore/qmetatype.h:56, | |
[build] from C:/msys64/mingw64/include/QtCore/qobject.h:54, | |
[build] from C:/msys64/mingw64/include/QtCore/qcoreapplication.h:46, | |
[build] from C:/msys64/mingw64/include/QtWidgets/qapplication.h:44, | |
[build] from C:/msys64/mingw64/include/QtWidgets/QApplication:1, | |
[build] from C:/Users/m/Desktop/gity/_128/us128/src/app_u128/source/main.cpp:21: | |
[build] In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::begin() [with _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >]', | |
[build] inlined from 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::begin() [with _Key = std::__cxx11::basic_string<char>; _Tp = nlohmann::basic_json<>; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >]' at C:/msys64/mingw64/include/c++/12.1.0/bits/stl_map.h:367:26, | |
[build] inlined from 'void nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::set_parents() [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long long int; NumberUnsignedType = long long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector<unsigned char>]' at C:/Users/mariusz/Desktop/gity/_128/us128/3rdparty/nlohmann/json.hpp:17877:17, | |
[build] inlined from 'void nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::set_parents() [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long long int; NumberUnsignedType = long long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector<unsigned char>]' at C:/Users/mariusz/Desktop/gity/_128/us128/3rdparty/nlohmann/json.hpp:17861:10, | |
[build] inlined from 'nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::basic_json(CompatibleType&&) [with CompatibleType = const char (&)[6]; U = char [6]; typename std::enable_if<((! nlohmann::detail::is_basic_json<U>::value) && nlohmann::detail::is_compatible_type<nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>, U>::value), int>::type <anonymous> = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long long int; NumberUnsignedType = long long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector<unsigned char>]' at C:/Users/mariusz/Desktop/gity/_128/us128/3rdparty/nlohmann/json.hpp:17998:20, | |
[build] inlined from 'void test_MB()' at C:/Users/m/Desktop/gity/_128/us128/src/app_u128/source/main.cpp:669:15: | |
[build] C:/msys64/mingw64/include/c++/12.1.0/bits/stl_tree.h:996:16: error: array subscript 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > > >[0]' is partly outside array bounds of 'unsigned char [32]' [-Werror=array-bounds] | |
[build] 996 | { return iterator(this->_M_impl._M_header._M_left); } | |
[build] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
[build] In file included from C:/msys64/mingw64/include/c++/12.1.0/x86_64-w64-mingw32/bits/c++allocator.h:33, | |
[build] from C:/msys64/mingw64/include/c++/12.1.0/bits/allocator.h:46, | |
[build] from C:/msys64/mingw64/include/c++/12.1.0/string:41, | |
[build] from C:/Users/m/Desktop/gity/_128/us128/src/us_base/src/sysutils.h:12, | |
[build] from C:/Users/m/Desktop/gity/_128/us128/src/app_u128/source/main.cpp:12: | |
[build] In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::__cxx11::basic_string<char>]', | |
[build] inlined from 'static _Tp* std::allocator_traits<std::allocator<_CharT> >::allocate(allocator_type&, size_type) [with _Tp = std::__cxx11::basic_string<char>]' at C:/msys64/mingw64/include/c++/12.1.0/bits/alloc_traits.h:464:28, | |
[build] inlined from 'static T* nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::create(Args&& ...) [with T = std::__cxx11::basic_string<char>; Args = {const char (&)[6]}; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long long int; NumberUnsignedType = long long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector<unsigned char>]' at C:/Users/mariusz/Desktop/gity/_128/us128/3rdparty/nlohmann/json.hpp:17555:47, | |
[build] inlined from 'static void nlohmann::detail::external_constructor<nlohmann::detail::value_t::string>::construct(BasicJsonType&, const CompatibleStringType&) [with BasicJsonType = nlohmann::basic_json<>; CompatibleStringType = char [6]; typename std::enable_if<(! std::is_same<CompatibleStringType, typename BasicJsonType::string_t>::value), int>::type <anonymous> = 0]' at C:/Users/mariusz/Desktop/gity/_128/us128/3rdparty/nlohmann/json.hpp:4573:79, | |
[build] inlined from 'void nlohmann::detail::to_json(BasicJsonType&, const CompatibleString&) [with BasicJsonType = nlohmann::basic_json<>; CompatibleString = char [6]; typename std::enable_if<std::is_constructible<typename BasicJsonType::string_t, Key>::value, int>::type <anonymous> = 0]' at C:/Users/mariusz/Desktop/gity/_128/us128/3rdparty/nlohmann/json.hpp:4762:53, | |
[build] inlined from 'decltype ((nlohmann::detail::to_json(j, forward<T>(val)), void())) nlohmann::detail::to_json_fn::operator()(BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = const char (&)[6]]' at C:/Users/mariusz/Desktop/gity/_128/us128/3rdparty/nlohmann/json.hpp:4901:23, | |
[build] inlined from 'static decltype ((nlohmann::{anonymous}::to_json(j, forward<TargetType>(val)), void())) nlohmann::adl_serializer<T, SFINAE>::to_json(BasicJsonType&, TargetType&&) [with BasicJsonType = nlohmann::basic_json<>; TargetType = const char (&)[6]; ValueType = char [6]; <template-parameter-1-2> = void]' at C:/Users/mariusz/Desktop/gity/_128/us128/3rdparty/nlohmann/json.hpp:4954:28, | |
[build] inlined from 'nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::basic_json(CompatibleType&&) [with CompatibleType = const char (&)[6]; U = char [6]; typename std::enable_if<((! nlohmann::detail::is_basic_json<U>::value) && nlohmann::detail::is_compatible_type<nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>, U>::value), int>::type <anonymous> = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long long int; NumberUnsignedType = long long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector<unsigned char>]' at C:/Users/mariusz/Desktop/gity/_128/us128/3rdparty/nlohmann/json.hpp:17997:35, | |
[build] inlined from 'void test_MB()' at C:/Users/m/Desktop/gity/_128/us128/src/app_u128/source/main.cpp:669:15: | |
[build] C:/msys64/mingw64/include/c++/12.1.0/bits/new_allocator.h:137:55: note: object of size 32 allocated by 'operator new' | |
[build] 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | |
[build] | ^ | |
[build] cc1plus.exe: all warnings being treated as errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment