Hello
Context:
Version: 2024.7 (build 16452)
Build Hash: 4ecf24147
Compile Date: 2025-01-09 08:28:21
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Dec 1 2024, 12:12:57) [GCC 10.2.1 20210110]
Issue :
When building domoticz from sources I get the following message:
[ 0%] Building CXX object extern/jsoncpp/src/lib_json/CMakeFiles/jsoncpp_static.dir/json_reader.cpp.o
/home/pi/DEV20240210/dev-domoticz/extern/jsoncpp/src/lib_json/json_reader.cpp:756:34: warning: ‘Reader’ is deprecated: Use CharReader and CharReaderBuilder instead. [-Wdeprecated-declarations]
756 | Reader::Char Reader::getNextChar() {
| ^
In file included from /home/pi/DEV20240210/dev-domoticz/extern/jsoncpp/src/lib_json/json_reader.cpp:10:
/home/pi/DEV20240210/dev-domoticz/extern/jsoncpp/include/json/reader.h:37:63: note: declared here
37 | "Use CharReader and CharReaderBuilder instead.") JSON_API Reader {
| ^~~~~~
/home/pi/DEV20240210/dev-domoticz/extern/jsoncpp/src/lib_json/json_reader.cpp:810:21: warning: ‘Reader’ is deprecated: Use CharReader and CharReaderBuilder instead. [-Wdeprecated-declarations]
810 | std::vector<Reader::StructuredError> Reader::getStructuredErrors() const {
| ^~~~~~~~~~~~~~~
In file included from /home/pi/DEV20240210/dev-domoticz/extern/jsoncpp/src/lib_json/json_reader.cpp:10:
/home/pi/DEV20240210/dev-domoticz/extern/jsoncpp/include/json/reader.h:37:63: note: declared here
37 | "Use CharReader and CharReaderBuilder instead.") JSON_API Reader {
| ^~~~~~
[
BR
Reader’ is deprecated: Use CharReader and CharReaderBuilder instead when building domoticz from sources
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
-
- Posts: 559
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Reader’ is deprecated: Use CharReader and CharReaderBuilder instead when building domoticz from sources
It is just a warning. Domoticz is compiling fine for me.
Logic will get you from A to B. Imagination will take you everywhere.
Who is online
Users browsing this forum: No registered users and 0 guests