[QGIS-Developer] Understanding errors while building QGIS master
Hernán De Angelis
variablestarlight at gmail.com
Mon Apr 28 03:22:26 PDT 2025
Hi
I seek help in understanding errors I am currently experiencing while
building QGIS master in a fresh openSUSE Tumbleweed install. These
errors seem to originate in nlohmann json. I am used to compile QGIS
from source but never seen these errors before and have trouble figuring
out where they originate and what a possible solution could be.
I am using Qt 6.9.0, and tried compiling using both GCC 14 and 15.
Passing the flag "-std=c++17" does not seem to help. I tried using
NLOHMANN both internal and also using the latest version compiled
locally (3.12, as in error log below) but both fail in a similar way.
I compiled QGIS master as late as 6 april without problems in a previous
openSUSE install. There is a very real the possibility that recent
changes in GCC14 and 15 regarding required standards are playing a part
here, as well as packaging changes in openSUSE Tumbleweed. However, as I
am unsure what the cause may be I would like to ask the developers if
these errors look familiar to you or if they suggest something.
Thanks in advance
Hernán
[ 12%] Built target staged-plugins-on-build
In file included from
/usr/local/src/QGIS/external/nlohmann/detail/value_t.hpp:16,
from
/usr/local/src/QGIS/external/nlohmann/detail/exceptions.hpp:20,
from
/usr/local/src/QGIS/external/nlohmann/detail/conversions/from_json.hpp:23,
from
/usr/local/src/QGIS/external/nlohmann/adl_serializer.hpp:14,
from /usr/local/src/QGIS/external/nlohmann/json.hpp:34,
from /usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:26:
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:63:
error: wrong number of template arguments (11, should be at least 0)
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/detail/meta/type_traits.hpp:53:22:
note: in expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
53 | struct is_basic_json<NLOHMANN_BASIC_JSON_TPL> : std::true_type {};
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/pdal/PDALUtils.hpp:39,
from /usr/local/include/pdal/PointRef.hpp:37,
from /usr/local/include/pdal/Geometry.hpp:37,
from /usr/local/src/QGIS/external/pdal_wrench/vpc.hpp:18,
from /usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:19:
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: provided for
‘template<template<class U, class V, class ... Args> class ObjectType,
template<class U, class ... Args> class ArrayType, class StringType,
class BooleanType, class NumberIntegerType, class NumberUnsignedType,
class NumberFloatType, template<class U> class AllocatorType,
template<class T, class SFINAE> class JSONSerializer, class BinaryType>
class nlohmann::basic_json’
40 | class basic_json;
| ^~~~~~~~~~
In file included from
/usr/local/src/QGIS/external/nlohmann/detail/exceptions.hpp:25:
/usr/local/src/QGIS/external/nlohmann/detail/meta/type_traits.hpp:53:45:
error: template argument 1 is invalid
53 | struct is_basic_json<NLOHMANN_BASIC_JSON_TPL> : std::true_type {};
| ^
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:63:
error: wrong number of template arguments (11, should be at least 0)
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:51:28:
note: in expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
51 | struct string_t_helper<NLOHMANN_BASIC_JSON_TPL>
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: provided for
‘template<template<class U, class V, class ... Args> class ObjectType,
template<class U, class ... Args> class ArrayType, class StringType,
class BooleanType, class NumberIntegerType, class NumberUnsignedType,
class NumberFloatType, template<class U> class AllocatorType,
template<class T, class SFINAE> class JSONSerializer, class BinaryType>
class nlohmann::basic_json’
40 | class basic_json;
| ^~~~~~~~~~
In file included from /usr/local/src/QGIS/external/nlohmann/json.hpp:50:
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:51:51:
error: template argument 1 is invalid
51 | struct string_t_helper<NLOHMANN_BASIC_JSON_TPL>
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:104:30: error: reference
to ‘json_pointer’ is ambiguous
104 | friend class ::nlohmann::json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: candidates are: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:45:7: note: ‘template<class
BasicJsonType> class nlohmann::json_pointer’
45 | class json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:166:26: error: reference
to ‘json_pointer’ is ambiguous
166 | using json_pointer = ::nlohmann::json_pointer<StringType>;
| ^~
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: candidates are: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:45:7: note: ‘template<class
BasicJsonType> class nlohmann::json_pointer’
45 | class json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2327:21: error: missing
template argument list after ‘nlohmann::json_abi_v3_11_3::json_pointer’;
template placeholder not permitted in parameter
2327 | ValueType value(const json_pointer& ptr, const ValueType&
default_value) const
| ^~~~~
| <>
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ declared here
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2352:22: error: missing
template argument list after ‘nlohmann::json_abi_v3_11_3::json_pointer’;
template placeholder not permitted in parameter
2352 | ReturnType value(const json_pointer& ptr, ValueType &&
default_value) const
| ^~~~~
| <>
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ declared here
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2376:27: error: reference
to ‘json_pointer’ is ambiguous
2376 | ValueType value(const
::nlohmann::json_pointer<BasicJsonType>& ptr, const ValueType&
default_value) const
| ^~
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: candidates are: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:45:7: note: ‘template<class
BasicJsonType> class nlohmann::json_pointer’
45 | class json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2376:51: error: expected
‘,’ or ‘...’ before ‘<’ token
2376 | ValueType value(const
::nlohmann::json_pointer<BasicJsonType>& ptr, const ValueType&
default_value) const
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:2387:28: error: reference
to ‘json_pointer’ is ambiguous
2387 | ReturnType value(const
::nlohmann::json_pointer<BasicJsonType>& ptr, ValueType &&
default_value) const
| ^~
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: candidates are: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:45:7: note: ‘template<class
BasicJsonType> class nlohmann::json_pointer’
45 | class json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2387:52: error: expected
‘,’ or ‘...’ before ‘<’ token
2387 | ReturnType value(const
::nlohmann::json_pointer<BasicJsonType>& ptr, ValueType &&
default_value) const
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:2745:19: error: missing
template argument list after ‘nlohmann::json_abi_v3_11_3::json_pointer’;
template placeholder not permitted in parameter
2745 | bool contains(const json_pointer& ptr) const
| ^~~~~
| <>
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ declared here
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2752:46: error: reference
to ‘json_pointer’ is ambiguous
2752 | bool contains(const typename
::nlohmann::json_pointer<BasicJsonType>& ptr) const
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: candidates are: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:45:7: note: ‘template<class
BasicJsonType> class nlohmann::json_pointer’
45 | class json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2752:58: error: expected
‘,’ or ‘...’ before ‘<’ token
2752 | bool contains(const typename
::nlohmann::json_pointer<BasicJsonType>& ptr) const
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:4618:26: error: missing
template argument list after ‘nlohmann::json_abi_v3_11_3::json_pointer’;
template placeholder not permitted in parameter
4618 | reference operator[](const json_pointer& ptr)
| ^~~~~
| <>
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ declared here
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4618:15: error:
‘nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value_type&
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::operator[](...)’ must not have variable number of
arguments
4618 | reference operator[](const json_pointer& ptr)
| ^~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4625:32: error: reference
to ‘json_pointer’ is ambiguous
4625 | reference operator[](const
::nlohmann::json_pointer<BasicJsonType>& ptr)
| ^~
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: candidates are: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:45:7: note: ‘template<class
BasicJsonType> class nlohmann::json_pointer’
45 | class json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4625:56: error: expected
‘,’ or ‘...’ before ‘<’ token
4625 | reference operator[](const
::nlohmann::json_pointer<BasicJsonType>& ptr)
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:4632:32: error: missing
template argument list after ‘nlohmann::json_abi_v3_11_3::json_pointer’;
template placeholder not permitted in parameter
4632 | const_reference operator[](const json_pointer& ptr) const
| ^~~~~
| <>
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ declared here
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4632:21: error: ‘const
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value_type&
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::operator[](...) const’ must not have variable number
of arguments
4632 | const_reference operator[](const json_pointer& ptr) const
| ^~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4639:38: error: reference
to ‘json_pointer’ is ambiguous
4639 | const_reference operator[](const
::nlohmann::json_pointer<BasicJsonType>& ptr) const
| ^~
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: candidates are: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:45:7: note: ‘template<class
BasicJsonType> class nlohmann::json_pointer’
45 | class json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4639:62: error: expected
‘,’ or ‘...’ before ‘<’ token
4639 | const_reference operator[](const
::nlohmann::json_pointer<BasicJsonType>& ptr) const
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:4646:18: error: missing
template argument list after ‘nlohmann::json_abi_v3_11_3::json_pointer’;
template placeholder not permitted in parameter
4646 | reference at(const json_pointer& ptr)
| ^~~~~
| <>
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ declared here
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4653:24: error: reference
to ‘json_pointer’ is ambiguous
4653 | reference at(const ::nlohmann::json_pointer<BasicJsonType>&
ptr)
| ^~
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: candidates are: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:45:7: note: ‘template<class
BasicJsonType> class nlohmann::json_pointer’
45 | class json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4653:48: error: expected
‘,’ or ‘...’ before ‘<’ token
4653 | reference at(const ::nlohmann::json_pointer<BasicJsonType>&
ptr)
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:4660:24: error: missing
template argument list after ‘nlohmann::json_abi_v3_11_3::json_pointer’;
template placeholder not permitted in parameter
4660 | const_reference at(const json_pointer& ptr) const
| ^~~~~
| <>
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ declared here
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4667:30: error: reference
to ‘json_pointer’ is ambiguous
4667 | const_reference at(const
::nlohmann::json_pointer<BasicJsonType>& ptr) const
| ^~
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: candidates are: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:45:7: note: ‘template<class
BasicJsonType> class nlohmann::json_pointer’
45 | class json_pointer;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4667:54: error: expected
‘,’ or ‘...’ before ‘<’ token
4667 | const_reference at(const
::nlohmann::json_pointer<BasicJsonType>& ptr) const
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘ValueType nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value(...) const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:2335:24: error: ‘ptr’ was
not declared in this scope
2335 | return ptr.get_checked(this).template
get<ValueType>();
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2335:68: error: expected
primary-expression before ‘>’ token
2335 | return ptr.get_checked(this).template
get<ValueType>();
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:2335:70: error: expected
primary-expression before ‘)’ token
2335 | return ptr.get_checked(this).template
get<ValueType>();
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘ReturnType nlohmann::json_abi_v3_11_3::basic_json<ObjectType,
ArrayType, StringType, BooleanType, NumberIntegerType,
NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer,
BinaryType, CustomBaseClass>::value(...) const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:2360:24: error: ‘ptr’ was
not declared in this scope
2360 | return ptr.get_checked(this).template
get<ReturnType>();
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2360:69: error: expected
primary-expression before ‘>’ token
2360 | return ptr.get_checked(this).template
get<ReturnType>();
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:2360:71: error: expected
primary-expression before ‘)’ token
2360 | return ptr.get_checked(this).template
get<ReturnType>();
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘ValueType nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value(int) const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:2378:22: error: ‘ptr’ was
not declared in this scope
2378 | return value(ptr.convert(), default_value);
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2378:37: error:
‘default_value’ was not declared in this scope
2378 | return value(ptr.convert(), default_value);
| ^~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘ReturnType nlohmann::json_abi_v3_11_3::basic_json<ObjectType,
ArrayType, StringType, BooleanType, NumberIntegerType,
NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer,
BinaryType, CustomBaseClass>::value(int) const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:2389:22: error: ‘ptr’ was
not declared in this scope
2389 | return value(ptr.convert(),
std::forward<ValueType>(default_value));
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:2389:61: error:
‘default_value’ was not declared in this scope
2389 | return value(ptr.convert(),
std::forward<ValueType>(default_value));
| ^~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function ‘bool
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::contains(...) const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:2747:16: error: ‘ptr’ was
not declared in this scope
2747 | return ptr.contains(this);
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function ‘bool
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::contains(int) const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:2754:16: error: ‘ptr’ was
not declared in this scope
2754 | return ptr.contains(this);
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value_type&
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::operator[](int)’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4627:16: error: ‘ptr’ was
not declared in this scope
4627 | return ptr.get_unchecked(this);
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘const nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value_type&
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::operator[](int) const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4641:16: error: ‘ptr’ was
not declared in this scope
4641 | return ptr.get_unchecked(this);
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value_type&
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::at(...)’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4648:16: error: ‘ptr’ was
not declared in this scope
4648 | return ptr.get_checked(this);
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value_type&
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::at(int)’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4655:16: error: ‘ptr’ was
not declared in this scope
4655 | return ptr.get_checked(this);
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘const nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value_type&
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::at(...) const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4662:16: error: ‘ptr’ was
not declared in this scope
4662 | return ptr.get_checked(this);
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘const nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::value_type&
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::at(int) const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4669:16: error: ‘ptr’ was
not declared in this scope
4669 | return ptr.get_checked(this);
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass> nlohmann::json_abi_v3_11_3::basic_json<ObjectType,
ArrayType, StringType, BooleanType, NumberIntegerType,
NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer,
BinaryType, CustomBaseClass>::flatten() const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4677:30: error:
qualified-id in declaration before ‘(’ token
4677 | json_pointer::flatten("", *this, result);
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function
‘nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass> nlohmann::json_abi_v3_11_3::basic_json<ObjectType,
ArrayType, StringType, BooleanType, NumberIntegerType,
NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer,
BinaryType, CustomBaseClass>::unflatten() const’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4685:16: error:
‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ used without template arguments
4685 | return json_pointer::unflatten(*this);
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function ‘void
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::patch_inplace(const
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>&)’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4736:46: error: missing
template argument list after ‘nlohmann::json_abi_v3_11_3::json_pointer’;
template placeholder not permitted in parameter
4736 | const auto operation_add = [&result](json_pointer &
ptr, basic_json val)
| ^~~~~~~~~~~~
| <>
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ declared here
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In lambda function:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4739:17: error: ‘ptr’ was
not declared in this scope
4739 | if (ptr.empty())
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4746:46: error: ‘ptr’ was
not declared in this scope
4746 | json_pointer const top_pointer = ptr.top();
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4777:42: error:
‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ used without template arguments
4777 | const auto idx = json_pointer::template
array_index<basic_json_t>(last_path);
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4777:89: error: expected
primary-expression before ‘>’ token
4777 | const auto idx = json_pointer::template
array_index<basic_json_t>(last_path);
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp: In member function ‘void
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>::patch_inplace(const
nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType,
StringType, BooleanType, NumberIntegerType, NumberUnsignedType,
NumberFloatType, AllocatorType, JSONSerializer, BinaryType,
CustomBaseClass>&)’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4804:56: error: missing
template argument list after ‘nlohmann::json_abi_v3_11_3::json_pointer’;
template placeholder not permitted in parameter
4804 | const auto operation_remove = [this, &
result](json_pointer & ptr)
| ^~~~~~~~~~~~
| <>
/usr/local/src/QGIS/external/nlohmann/detail/json_pointer.hpp:35:7:
note: ‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ declared here
35 | class json_pointer
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: In lambda function:
/usr/local/src/QGIS/external/nlohmann/json.hpp:4807:36: error: ‘ptr’ was
not declared in this scope
4807 | const auto last_path = ptr.back();
| ^~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4828:30: error:
‘template<class RefStringType> class
nlohmann::json_abi_v3_11_3::json_pointer’ used without template arguments
4828 | parent.erase(json_pointer::template
array_index<basic_json_t>(last_path));
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:4828:77: error: expected
primary-expression before ‘>’ token
4828 | parent.erase(json_pointer::template
array_index<basic_json_t>(last_path));
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp: At global scope:
/usr/local/src/QGIS/external/nlohmann/json.hpp:5168:72: error: return
type ‘using nlohmann::json = class nlohmann::basic_json<>’ {aka ‘class
nlohmann::basic_json<>’} is incomplete
5168 | inline nlohmann::json operator ""_json(const char* s,
std::size_t n)
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp: In function ‘void
nlohmann::json_abi_v3_11_3::literals::json_literals::operator""_json(const
char*, std::size_t)’:
/usr/local/src/QGIS/external/nlohmann/json.hpp:5173:28: error:
incomplete type ‘nlohmann::json’ {aka ‘nlohmann::basic_json<>’} used in
nested name specifier
5173 | return nlohmann::json::parse(s, s + n);
| ^~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp: At global scope:
/usr/local/src/QGIS/external/nlohmann/json.hpp:5180:28: error: invalid
use of incomplete type ‘using nlohmann::json = class
nlohmann::basic_json<>’ {aka ‘class nlohmann::basic_json<>’}
5180 | inline nlohmann::json::json_pointer operator
""_json_pointer(const char* s, std::size_t n)
| ^~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: declaration of ‘using
nlohmann::json = class nlohmann::basic_json<>’ {aka ‘class
nlohmann::basic_json<>’}
40 | class basic_json;
| ^~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:5202:46: error: template
argument 1 is invalid
5202 | struct hash<nlohmann::NLOHMANN_BASIC_JSON_TPL> //
NOLINT(cert-dcl58-cpp)
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:13: error: variable
or field ‘swap’ declared void
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:5:
error: reference to ‘basic_json’ is ambiguous
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:97:7: note: candidates
are: ‘template<template<class, class, class ...> class ObjectType,
template<class, class ...> class ArrayType, class StringType, class
BooleanType, class NumberIntegerType, class NumberUnsignedType, class
NumberFloatType, template<class> class AllocatorType, template<class,
class> class JSONSerializer, class BinaryType, class CustomBaseClass>
class nlohmann::json_abi_v3_11_3::basic_json’
97 | class basic_json //
NOLINT(cppcoreguidelines-special-member-functions,hicpp-special-member-functions)
| ^~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: ‘template<template<class
U, class V, class ... Args> class ObjectType, template<class U, class
... Args> class ArrayType, class StringType, class BooleanType, class
NumberIntegerType, class NumberUnsignedType, class NumberFloatType,
template<class U> class AllocatorType, template<class T, class SFINAE>
class JSONSerializer, class BinaryType> class nlohmann::basic_json’
40 | class basic_json;
| ^~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:26:
error: missing template arguments before ‘,’ token
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:37:
error: missing template arguments before ‘,’ token
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:49:
error: expected primary-expression before ‘,’ token
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:62:
error: expected primary-expression before ‘,’ token
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:256:22:
error: expected primary-expression before ‘,’ token
256 | NumberIntegerType, NumberUnsignedType,
NumberFloatType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:256:42:
error: expected primary-expression before ‘,’ token
256 | NumberIntegerType, NumberUnsignedType,
NumberFloatType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:256:59:
error: expected primary-expression before ‘,’ token
256 | NumberIntegerType, NumberUnsignedType,
NumberFloatType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:18:
error: missing template arguments before ‘,’ token
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:34:
error: missing template arguments before ‘,’ token
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:46:
error: expected primary-expression before ‘,’ token
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:63:
error: expected primary-expression before ‘>’ token
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:28: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:5:
error: reference to ‘basic_json’ is ambiguous
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:97:7: note: candidates
are: ‘template<template<class, class, class ...> class ObjectType,
template<class, class ...> class ArrayType, class StringType, class
BooleanType, class NumberIntegerType, class NumberUnsignedType, class
NumberFloatType, template<class> class AllocatorType, template<class,
class> class JSONSerializer, class BinaryType, class CustomBaseClass>
class nlohmann::json_abi_v3_11_3::basic_json’
97 | class basic_json //
NOLINT(cppcoreguidelines-special-member-functions,hicpp-special-member-functions)
| ^~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: ‘template<template<class
U, class V, class ... Args> class ObjectType, template<class U, class
... Args> class ArrayType, class StringType, class BooleanType, class
NumberIntegerType, class NumberUnsignedType, class NumberFloatType,
template<class U> class AllocatorType, template<class T, class SFINAE>
class JSONSerializer, class BinaryType> class nlohmann::basic_json’
40 | class basic_json;
| ^~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:26:
error: missing template arguments before ‘,’ token
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:37:
error: missing template arguments before ‘,’ token
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:49:
error: expected primary-expression before ‘,’ token
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:255:62:
error: expected primary-expression before ‘,’ token
255 | basic_json<ObjectType, ArrayType, StringType,
BooleanType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:256:22:
error: expected primary-expression before ‘,’ token
256 | NumberIntegerType, NumberUnsignedType,
NumberFloatType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:256:42:
error: expected primary-expression before ‘,’ token
256 | NumberIntegerType, NumberUnsignedType,
NumberFloatType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:256:59:
error: expected primary-expression before ‘,’ token
256 | NumberIntegerType, NumberUnsignedType,
NumberFloatType, \
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:18:
error: missing template arguments before ‘,’ token
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:34:
error: missing template arguments before ‘,’ token
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:46:
error: expected primary-expression before ‘,’ token
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/detail/macro_scope.hpp:257:63:
error: expected primary-expression before ‘>’ token
257 | AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>
| ^
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:67: note: in
expansion of macro ‘NLOHMANN_BASIC_JSON_TPL’
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/nlohmann/json.hpp:5235:92: error: ‘j2’ was
not declared in this scope; did you mean ‘jn’?
5235 | inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1,
nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( //
NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp)
| ^~
| jn
/usr/local/src/QGIS/external/nlohmann/json.hpp:5249:59: error:
‘operator""_json_pointer’ has not been declared in
‘nlohmann::json_abi_v3_11_3::literals::json_literals’
5249 | using nlohmann::literals::json_literals::operator
""_json_pointer;
//NOLINT(misc-unused-using-decls,google-global-names-in-headers)
| ^~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp: In member function
‘bool VirtualPointCloud::read(std::string)’:
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:66:10: error: aggregate
‘json data’ has incomplete type and cannot be defined
66 | json data;
| ^~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:69:22: error:
incomplete type ‘json’ {aka ‘nlohmann::basic_json<>’} used in nested
name specifier
69 | data = json::parse(inputJson);
| ^~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:107:24: error: variable
‘nlohmann::json firstAsset’ has initializer but incomplete type
107 | nlohmann::json firstAsset = *f["assets"].begin();
| ^~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:116:24: error: variable
‘nlohmann::json nativeGeometry’ has initializer but incomplete type
116 | nlohmann::json nativeGeometry =
f["properties"]["proj:geometry"];
| ^~~~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:123:24: error: variable
‘nlohmann::json nativeBbox’ has initializer but incomplete type
123 | nlohmann::json nativeBbox = f["properties"]["proj:bbox"];
| ^~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:124:26: error: expected
primary-expression before ‘(’ token
124 | vpcf.bbox = BOX3D(
| ^
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:125:31: error: expected
primary-expression before ‘double’
125 | nativeBbox[0].get<double>(),
nativeBbox[1].get<double>(), nativeBbox[2].get<double>(),
| ^~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:125:60: error: expected
primary-expression before ‘double’
125 | nativeBbox[0].get<double>(),
nativeBbox[1].get<double>(), nativeBbox[2].get<double>(),
| ^~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:125:89: error: expected
primary-expression before ‘double’
125 | nativeBbox[0].get<double>(),
nativeBbox[1].get<double>(), nativeBbox[2].get<double>(),
| ^~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:126:31: error: expected
primary-expression before ‘double’
126 | nativeBbox[3].get<double>(),
nativeBbox[4].get<double>(), nativeBbox[5].get<double>() );
| ^~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:126:60: error: expected
primary-expression before ‘double’
126 | nativeBbox[3].get<double>(),
nativeBbox[4].get<double>(), nativeBbox[5].get<double>() );
| ^~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:126:89: error: expected
primary-expression before ‘double’
126 | nativeBbox[3].get<double>(),
nativeBbox[4].get<double>(), nativeBbox[5].get<double>() );
| ^~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:136:64: error: expected
primary-expression before ‘(’ token
136 |
vpcf.schema.push_back(VirtualPointCloud::SchemaItem(schemaItem["name"],
schemaItem["type"], schemaItem["size"].get<int>()));
| ^
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:136:128: error:
expected primary-expression before ‘int’
136 |
vpcf.schema.push_back(VirtualPointCloud::SchemaItem(schemaItem["name"],
schemaItem["type"], schemaItem["size"].get<int>()));
| ^~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp: In function ‘void
geometryToJson(const pdal::Geometry&, const pdal::BOX3D&,
nlohmann::json&, nlohmann::json&)’:
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:184:5: error: invalid
use of incomplete type ‘using nlohmann::json = class
nlohmann::basic_json<>’ {aka ‘class nlohmann::basic_json<>’}
184 | jsonBbox = { bbox.minx, bbox.miny, bbox.minz, bbox.maxx,
bbox.maxy, bbox.maxz };
| ^~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: declaration of ‘using
nlohmann::json = class nlohmann::basic_json<>’ {aka ‘class
nlohmann::basic_json<>’}
40 | class basic_json;
| ^~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:189:30: error:
incomplete type ‘json’ {aka ‘nlohmann::basic_json<>’} used in nested
name specifier
189 | jsonGeometry = json::parse(strGeom);
| ^~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp: In member function
‘bool VirtualPointCloud::write(std::string)’:
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:234:24: error:
aggregate ‘nlohmann::json jsonGeometry’ has incomplete type and cannot
be defined
234 | nlohmann::json jsonGeometry, jsonBbox;
| ^~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:234:38: error:
aggregate ‘nlohmann::json jsonBbox’ has incomplete type and cannot be
defined
234 | nlohmann::json jsonGeometry, jsonBbox;
| ^~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:238:24: error: variable
‘nlohmann::json jsonGeometryWgs84’ has initializer but incomplete type
238 | nlohmann::json jsonGeometryWgs84 = jsonGeometry,
jsonBboxWgs84 = jsonBbox;
| ^~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:238:58: error: variable
‘nlohmann::json jsonBboxWgs84’ has initializer but incomplete type
238 | nlohmann::json jsonGeometryWgs84 = jsonGeometry,
jsonBboxWgs84 = jsonBbox;
| ^~~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:256:13: error: too many
initializers for ‘nlohmann::json’ {aka ‘nlohmann::basic_json<>’}
256 | });
| ^
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:259:24: error: variable
‘nlohmann::json props’ has initializer but incomplete type
259 | nlohmann::json props = {
| ^~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:280:28: error: variable
‘nlohmann::json statsArray’ has initializer but incomplete type
280 | nlohmann::json statsArray = json::array();
| ^~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:280:47: error:
incomplete type ‘json’ {aka ‘nlohmann::basic_json<>’} used in nested
name specifier
280 | nlohmann::json statsArray = json::array();
| ^~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:283:32: error: variable
‘nlohmann::json stat’ has initializer but incomplete type
283 | nlohmann::json stat = {
| ^~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:298:24: error: variable
‘nlohmann::json links’ has initializer but incomplete type
298 | nlohmann::json links = json::array();
| ^~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:298:38: error:
incomplete type ‘json’ {aka ‘nlohmann::basic_json<>’} used in nested
name specifier
298 | nlohmann::json links = json::array();
| ^~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:300:24: error: variable
‘nlohmann::json dataAsset’ has initializer but incomplete type
300 | nlohmann::json dataAsset = {
| ^~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:302:30: error:
incomplete type ‘json’ {aka ‘nlohmann::basic_json<>’} used in nested
name specifier
302 | { "roles", json::array({"data"}) },
| ^~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:304:24: error: variable
‘nlohmann::json assets’ has initializer but incomplete type
304 | nlohmann::json assets = { { "data", dataAsset } };
| ^~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:321:28: error: variable
‘nlohmann::json overviewAsset’ has initializer but incomplete type
321 | nlohmann::json overviewAsset = {
| ^~~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:323:34: error:
incomplete type ‘json’ {aka ‘nlohmann::basic_json<>’} used in nested
name specifier
323 | { "roles", json::array({"overview"}) },
| ^~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:328:25: error: no
matching function for call to
‘std::vector<nlohmann::basic_json<nlohmann::ordered_map>
>::push_back(<brace-enclosed initializer list>)’
328 | jFiles.push_back(
| ~~~~~~~~~~~~~~~~^
329 | {
| ~
330 | { "type", "Feature" },
| ~~~~~~~~~~~~~~~~~~~~~~
331 | { "stac_version", "1.0.0" },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
332 | { "stac_extensions",
| ~~~~~~~~~~~~~~~~~~~~
333 | {
| ~
334 | "https://stac-extensions.github.io/pointcloud/v1.0.0/schema.json",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
335 | "https://stac-extensions.github.io/projection/v1.1.0/schema.json"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 | }
| ~
337 | },
| ~~
338 | { "id", fileId },
| ~~~~~~~~~~~~~~~~~
339 | { "geometry", jsonGeometryWgs84 },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
340 | { "bbox", jsonBboxWgs84 },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
341 | { "properties", props },
| ~~~~~~~~~~~~~~~~~~~~~~~~
342 | { "links", links },
| ~~~~~~~~~~~~~~~~~~~
343 | { "assets", assets },
| ~~~~~~~~~~~~~~~~~~~~~
344 |
|
345 | });
| ~~
In file included from /usr/include/c++/14/vector:66,
from /usr/local/src/QGIS/external/pdal_wrench/vpc.hpp:15:
/usr/include/c++/14/bits/stl_vector.h:1283:7: note: candidate: ‘void
std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp =
nlohmann::basic_json<nlohmann::ordered_map>; _Alloc =
std::allocator<nlohmann::basic_json<nlohmann::ordered_map> >; value_type
= nlohmann::basic_json<nlohmann::ordered_map>]’
1283 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:1283:35: note: no known
conversion for argument 1 from ‘<brace-enclosed initializer list>’ to
‘const std::vector<nlohmann::basic_json<nlohmann::ordered_map>
>::value_type&’ {aka ‘const nlohmann::basic_json<nlohmann::ordered_map>&’}
1283 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/14/bits/stl_vector.h:1300:7: note: candidate: ‘void
std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp =
nlohmann::basic_json<nlohmann::ordered_map>; _Alloc =
std::allocator<nlohmann::basic_json<nlohmann::ordered_map> >; value_type
= nlohmann::basic_json<nlohmann::ordered_map>]’
1300 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:1300:30: note: no known
conversion for argument 1 from ‘<brace-enclosed initializer list>’ to
‘std::vector<nlohmann::basic_json<nlohmann::ordered_map>
>::value_type&&’ {aka ‘nlohmann::basic_json<nlohmann::ordered_map>&&’}
1300 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:349:28: error: variable
‘nlohmann::ordered_json j’ has initializer but incomplete type
349 | nlohmann::ordered_json j = { { "type", "FeatureCollection"
}, { "features", jFiles } };
| ^
/usr/include/c++/14/bits/stl_vector.h: In instantiation of
‘std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp =
nlohmann::basic_json<nlohmann::ordered_map>; _Alloc =
std::allocator<nlohmann::basic_json<nlohmann::ordered_map> >]’:
/usr/include/c++/14/bits/stl_vector.h:531:7: required from here
531 | vector() = default;
| ^~~~~~
/usr/include/c++/14/bits/stl_vector.h:369:49: error: invalid use of
incomplete type ‘class nlohmann::basic_json<nlohmann::ordered_map>’
369 | _M_impl._M_end_of_storage -
_M_impl._M_start);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: declaration of ‘class
nlohmann::basic_json<nlohmann::ordered_map>’
40 | class basic_json;
| ^~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h: In instantiation of
‘std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp =
nlohmann::basic_json<>; _Alloc = std::allocator<nlohmann::basic_json<> >]’:
/usr/include/c++/14/bits/stl_vector.h:531:7: required from here
531 | vector() = default;
| ^~~~~~
/usr/include/c++/14/bits/stl_vector.h:369:49: error: invalid use of
incomplete type ‘class nlohmann::basic_json<>’
369 | _M_impl._M_end_of_storage -
_M_impl._M_start);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: declaration of ‘class
nlohmann::basic_json<>’
40 | class basic_json;
| ^~~~~~~~~~
In file included from /usr/include/c++/14/bits/move.h:37,
from /usr/include/c++/14/bits/exception_ptr.h:41,
from /usr/include/c++/14/exception:166,
from /usr/include/c++/14/ios:41,
from /usr/include/c++/14/ostream:40,
from /usr/include/c++/14/iostream:41,
from /usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:13:
/usr/include/c++/14/type_traits: In instantiation of ‘struct
std::is_destructible<nlohmann::basic_json<nlohmann::ordered_map> >’:
/usr/include/c++/14/bits/stl_construct.h:188:51: required from ‘void
std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator
= nlohmann::basic_json<nlohmann::ordered_map>*]’
188 | static_assert(is_destructible<_Value_type>::value,
| ^~~~~
/usr/include/c++/14/bits/alloc_traits.h:993:20: required from ‘void
std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with
_ForwardIterator = nlohmann::basic_json<nlohmann::ordered_map>*; _Tp =
nlohmann::basic_json<nlohmann::ordered_map>]’
993 | std::_Destroy(__first, __last);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:735:15: required from
‘std::vector<_Tp, _Alloc>::~vector() [with _Tp =
nlohmann::basic_json<nlohmann::ordered_map>; _Alloc =
std::allocator<nlohmann::basic_json<nlohmann::ordered_map> >]’
735 | std::_Destroy(this->_M_impl._M_start,
this->_M_impl._M_finish,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
736 | _M_get_Tp_allocator());
| ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:214:41: required from here
214 | std::vector<nlohmann::ordered_json> jFiles;
| ^~~~~~
/usr/include/c++/14/type_traits:1049:52: error: static assertion failed:
template argument must be a complete class or an unbounded array
1049 |
static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/type_traits:1049:52: note:
‘std::__is_complete_or_unbounded<__type_identity<nlohmann::basic_json<nlohmann::ordered_map>
> >((std::__type_identity<nlohmann::basic_json<nlohmann::ordered_map>
>(), std::__type_identity<nlohmann::basic_json<nlohmann::ordered_map>
>()))’ evaluates to false
In file included from /usr/include/c++/14/bits/alloc_traits.h:33,
from /usr/include/c++/14/ext/alloc_traits.h:34,
from /usr/include/c++/14/bits/basic_string.h:39,
from /usr/include/c++/14/string:54,
from /usr/include/c++/14/bits/locale_classes.h:40,
from /usr/include/c++/14/bits/ios_base.h:41,
from /usr/include/c++/14/ios:44:
/usr/include/c++/14/bits/stl_construct.h: In instantiation of ‘void
std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator
= nlohmann::basic_json<nlohmann::ordered_map>*]’:
/usr/include/c++/14/bits/alloc_traits.h:993:20: required from ‘void
std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with
_ForwardIterator = nlohmann::basic_json<nlohmann::ordered_map>*; _Tp =
nlohmann::basic_json<nlohmann::ordered_map>]’
993 | std::_Destroy(__first, __last);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:735:15: required from
‘std::vector<_Tp, _Alloc>::~vector() [with _Tp =
nlohmann::basic_json<nlohmann::ordered_map>; _Alloc =
std::allocator<nlohmann::basic_json<nlohmann::ordered_map> >]’
735 | std::_Destroy(this->_M_impl._M_start,
this->_M_impl._M_finish,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
736 | _M_get_Tp_allocator());
| ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:214:41: required from here
214 | std::vector<nlohmann::ordered_json> jFiles;
| ^~~~~~
/usr/include/c++/14/bits/stl_construct.h:188:51: error: static assertion
failed: value type is destructible
188 | static_assert(is_destructible<_Value_type>::value,
| ^~~~~
/usr/include/c++/14/bits/stl_construct.h:188:51: note:
‘std::integral_constant<bool, false>::value’ evaluates to false
/usr/include/c++/14/bits/stl_construct.h:195:25: error: invalid use of
incomplete type
‘std::iterator_traits<nlohmann::basic_json<nlohmann::ordered_map>*>::value_type’
{aka ‘class nlohmann::basic_json<nlohmann::ordered_map>’}
195 | std::_Destroy_aux<__has_trivial_destructor(_Value_type)>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: declaration of
‘std::iterator_traits<nlohmann::basic_json<nlohmann::ordered_map>*>::value_type’
{aka ‘class nlohmann::basic_json<nlohmann::ordered_map>’}
40 | class basic_json;
| ^~~~~~~~~~
/usr/include/c++/14/type_traits: In instantiation of ‘struct
std::is_destructible<nlohmann::basic_json<> >’:
/usr/include/c++/14/bits/stl_construct.h:188:51: required from ‘void
std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator
= nlohmann::basic_json<>*]’
188 | static_assert(is_destructible<_Value_type>::value,
| ^~~~~
/usr/include/c++/14/bits/alloc_traits.h:993:20: required from ‘void
std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with
_ForwardIterator = nlohmann::basic_json<>*; _Tp = nlohmann::basic_json<>]’
993 | std::_Destroy(__first, __last);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:735:15: required from
‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = nlohmann::basic_json<>;
_Alloc = std::allocator<nlohmann::basic_json<> >]’
735 | std::_Destroy(this->_M_impl._M_start,
this->_M_impl._M_finish,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
736 | _M_get_Tp_allocator());
| ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:249:37: required from here
249 | std::vector<nlohmann::json> schemas;
| ^~~~~~~
/usr/include/c++/14/type_traits:1049:52: error: static assertion failed:
template argument must be a complete class or an unbounded array
1049 |
static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/type_traits:1049:52: note:
‘std::__is_complete_or_unbounded<__type_identity<nlohmann::basic_json<>
> >((std::__type_identity<nlohmann::basic_json<> >(),
std::__type_identity<nlohmann::basic_json<> >()))’ evaluates to false
/usr/include/c++/14/bits/stl_construct.h: In instantiation of ‘void
std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator
= nlohmann::basic_json<>*]’:
/usr/include/c++/14/bits/alloc_traits.h:993:20: required from ‘void
std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with
_ForwardIterator = nlohmann::basic_json<>*; _Tp = nlohmann::basic_json<>]’
993 | std::_Destroy(__first, __last);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:735:15: required from
‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = nlohmann::basic_json<>;
_Alloc = std::allocator<nlohmann::basic_json<> >]’
735 | std::_Destroy(this->_M_impl._M_start,
this->_M_impl._M_finish,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
736 | _M_get_Tp_allocator());
| ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/QGIS/external/pdal_wrench/vpc.cpp:249:37: required from here
249 | std::vector<nlohmann::json> schemas;
| ^~~~~~~
/usr/include/c++/14/bits/stl_construct.h:188:51: error: static assertion
failed: value type is destructible
188 | static_assert(is_destructible<_Value_type>::value,
| ^~~~~
/usr/include/c++/14/bits/stl_construct.h:188:51: note:
‘std::integral_constant<bool, false>::value’ evaluates to false
/usr/include/c++/14/bits/stl_construct.h:195:25: error: invalid use of
incomplete type
‘std::iterator_traits<nlohmann::basic_json<>*>::value_type’ {aka ‘class
nlohmann::basic_json<>’}
195 | std::_Destroy_aux<__has_trivial_destructor(_Value_type)>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pdal/JsonFwd.hpp:40:7: note: declaration of
‘std::iterator_traits<nlohmann::basic_json<>*>::value_type’ {aka ‘class
nlohmann::basic_json<>’}
40 | class basic_json;
| ^~~~~~~~~~
[ 30%] Built target qgis_core
[ 30%] Built target provider_delimitedtext_a_autogen_timestamp_deps
[ 30%] Built target provider_wms_a_autogen_timestamp_deps
[ 30%] [FLEX][QgsRasterCalcLexer] Building scanner with flex 2.6.4
[ 30%] Built target provider_arcgismapserver_a_autogen_timestamp_deps
[ 30%] Built target qgis_gui_autogen_timestamp_deps
In file included from
/usr/include/c++/14/x86_64-suse-linux/bits/c++allocator.h:33,
from /usr/include/c++/14/bits/allocator.h:46,
from /usr/include/c++/14/string:43:
/usr/include/c++/14/bits/new_allocator.h: In instantiation of ‘void
std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp =
nlohmann::basic_json<nlohmann::ordered_map>; size_type = long unsigned
int]’:
/usr/include/c++/14/bits/alloc_traits.h:550:23: required from ‘static
void std::allocator_traits<std::allocator<_CharT>
>::deallocate(allocator_type&, pointer, size_type) [with _Tp =
nlohmann::basic_json<nlohmann::ordered_map>; allocator_type =
std::allocator<nlohmann::basic_json<nlohmann::ordered_map> >; pointer =
nlohmann::basic_json<nlohmann::ordered_map>*; size_type = long unsigned
int]’
550 | { __a.deallocate(__p, __n); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:389:19: required from ‘void
std::_Vector_base<_Tp, _Alloc>::_M_deallocate(pointer, std::size_t)
[with _Tp = nlohmann::basic_json<nlohmann::ordered_map>; _Alloc =
std::allocator<nlohmann::basic_json<nlohmann::ordered_map> >; pointer =
nlohmann::basic_json<nlohmann::ordered_map>*; std::size_t = long
unsigned int]’
389 | _Tr::deallocate(_M_impl, __p, __n);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:368:2: required from
‘std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp =
nlohmann::basic_json<nlohmann::ordered_map>; _Alloc =
std::allocator<nlohmann::basic_json<nlohmann::ordered_map> >]’
368 | _M_deallocate(_M_impl._M_start,
| ^~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:531:7: required from here
531 | vector() = default;
| ^~~~~~
/usr/include/c++/14/bits/new_allocator.h:165:13: error: invalid
application of ‘__alignof__’ to incomplete type
‘nlohmann::basic_json<nlohmann::ordered_map>’
165 | if (alignof(_Tp) > __STDCPP_DEFAULT_NEW_ALIGNMENT__)
| ^~~~~~~~~~~~
/usr/include/c++/14/bits/new_allocator.h:167:38: error: invalid
application of ‘sizeof’ to incomplete type
‘nlohmann::basic_json<nlohmann::ordered_map>’
167 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n),
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/new_allocator.h:168:55: error: invalid
application of ‘__alignof__’ to incomplete type
‘nlohmann::basic_json<nlohmann::ordered_map>’
168 | std::align_val_t(alignof(_Tp)));
| ^~~~~~~~~~~~
/usr/include/c++/14/bits/new_allocator.h:172:34: error: invalid
application of ‘sizeof’ to incomplete type
‘nlohmann::basic_json<nlohmann::ordered_map>’
172 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n));
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/new_allocator.h: In instantiation of ‘void
std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp =
nlohmann::basic_json<>; size_type = long unsigned int]’:
/usr/include/c++/14/bits/alloc_traits.h:550:23: required from ‘static
void std::allocator_traits<std::allocator<_CharT>
>::deallocate(allocator_type&, pointer, size_type) [with _Tp =
nlohmann::basic_json<>; allocator_type =
std::allocator<nlohmann::basic_json<> >; pointer =
nlohmann::basic_json<>*; size_type = long unsigned int]’
550 | { __a.deallocate(__p, __n); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:389:19: required from ‘void
std::_Vector_base<_Tp, _Alloc>::_M_deallocate(pointer, std::size_t)
[with _Tp = nlohmann::basic_json<>; _Alloc =
std::allocator<nlohmann::basic_json<> >; pointer =
nlohmann::basic_json<>*; std::size_t = long unsigned int]’
389 | _Tr::deallocate(_M_impl, __p, __n);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:368:2: required from
‘std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp =
nlohmann::basic_json<>; _Alloc = std::allocator<nlohmann::basic_json<> >]’
368 | _M_deallocate(_M_impl._M_start,
| ^~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:531:7: required from here
531 | vector() = default;
| ^~~~~~
/usr/include/c++/14/bits/new_allocator.h:165:13: error: invalid
application of ‘__alignof__’ to incomplete type ‘nlohmann::basic_json<>’
165 | if (alignof(_Tp) > __STDCPP_DEFAULT_NEW_ALIGNMENT__)
| ^~~~~~~~~~~~
/usr/include/c++/14/bits/new_allocator.h:167:38: error: invalid
application of ‘sizeof’ to incomplete type ‘nlohmann::basic_json<>’
167 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n),
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/new_allocator.h:168:55: error: invalid
application of ‘__alignof__’ to incomplete type ‘nlohmann::basic_json<>’
168 | std::align_val_t(alignof(_Tp)));
| ^~~~~~~~~~~~
/usr/include/c++/14/bits/new_allocator.h:172:34: error: invalid
application of ‘sizeof’ to incomplete type ‘nlohmann::basic_json<>’
172 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n));
| ^~~~~~~~~~~~~~~~~~~~~~
[ 30%] [BISON][QgsRasterCalcParser] Building parser with bison 3.8.2
[ 30%] Built target provider_arcgismapserver_autogen_timestamp_deps
[ 30%] Built target provider_virtuallayer_a_autogen_timestamp_deps
[ 30%] Built target crssync_autogen_timestamp_deps
[ 30%] Built target provider_pdal_a_autogen_timestamp_deps
[ 30%] Built target qgispython_autogen_timestamp_deps
[ 30%] Generating core/build/_core/sip_corepart0.cpp,
core/build/_core/sip_corepart1.cpp, core/build/_core/sip_corepart2.cpp,
core/build/_core/sip_corepart3.cpp, core/build/_core/sip_corepart4.cpp,
core/build/_core/sip_corepart5.cpp, core/build/_core/sip_corepart6.cpp,
core/build/_core/sip_corepart7.cpp, core/build/_core/sip_corepart8.cpp,
core/build/_core/sip_corepart9.cpp, core/build/_core/sip_corepart10.cpp,
core/build/_core/sip_corepart11.cpp,
core/build/_core/sip_corepart12.cpp,
core/build/_core/sip_corepart13.cpp,
core/build/_core/sip_corepart14.cpp,
core/build/_core/sip_corepart15.cpp,
core/build/_core/sip_corepart16.cpp,
core/build/_core/sip_corepart17.cpp,
core/build/_core/sip_corepart18.cpp, core/build/_core/sip_corepart19.cpp
[ 30%] Built target qgis_test_autogen_timestamp_deps
[ 30%] Built target qgis_bench_autogen_timestamp_deps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20250428/a1ed796a/attachment-0001.htm>
More information about the QGIS-Developer
mailing list