What happened?
Upstream has deprecated the type names int64_value etc. in 1.5.0, they are now just int64, leading to errors such as:
/var/tmp/portage/dev-cpp/jwt-cpp-0.7.2/work/jwt-cpp-0.7.2/include/jwt-cpp/traits/danielaparker-jsoncons/traits.h:125:72: error: ‘bool_value’ is not a member of ‘jsoncons::json_type’
125 | if (val.type() == jsoncons::json_type::bool_value) return type::boolean;
| ^~~~~~~~~~
/var/tmp/portage/dev-cpp/jwt-cpp-0.7.2/work/jwt-cpp-0.7.2/include/jwt-cpp/traits/danielaparker-jsoncons/traits.h:126:72: error: ‘int64_value’ is not a member of ‘jsoncons::json_type’
126 | if (val.type() == jsoncons::json_type::int64_value) return type::integer;
| ^~~~~~~~~~~
Relevant upstream commit:
danielaparker/jsoncons@f070f95
How To Reproduce?
Use jsoncons >= 1.5.0.
Version
0.7.2
What OS are you seeing the problem on?
Linux
What compiler are you seeing the problem on?
GCC
Relevant log output
/var/tmp/portage/dev-cpp/jwt-cpp-0.7.2/work/jwt-cpp-0.7.2/include/jwt-cpp/traits/danielaparker-jsoncons/traits.h:125:72: error: ‘bool_value’ is not a member of ‘jsoncons::json_type’
125 | if (val.type() == jsoncons::json_type::bool_value) return type::boolean;
| ^~~~~~~~~~
/var/tmp/portage/dev-cpp/jwt-cpp-0.7.2/work/jwt-cpp-0.7.2/include/jwt-cpp/traits/danielaparker-jsoncons/traits.h:126:72: error: ‘int64_value’ is not a member of ‘jsoncons::json_type’
126 | if (val.type() == jsoncons::json_type::int64_value) return type::integer;
| ^~~~~~~~~~~
Code of Conduct
What happened?
Upstream has deprecated the type names
int64_valueetc. in 1.5.0, they are now justint64, leading to errors such as:Relevant upstream commit:
danielaparker/jsoncons@f070f95
How To Reproduce?
Use jsoncons >= 1.5.0.
Version
0.7.2
What OS are you seeing the problem on?
Linux
What compiler are you seeing the problem on?
GCC
Relevant log output
Code of Conduct