Open GoogleCodeExporter opened 9 years ago
Latest versions of the programs needed and added changes
in Makefile change LIBZWAVE path from "$(OPENZWAVE)/cpp/lib/linux/*.a" to
"$(OPENZWAVE)/cpp/build/*.a" and add to LIBS list " -lrt removed mac and added
linux.
When run make on Mint Linux 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Werror -Wno-format -g -DDEBUG -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o ozwcp.o ozwcp.cpp
ozwcp.cpp: In member function ‘void MyNode::updatePoll(char*, char*)’:
ozwcp.cpp:317:30: error: format ‘%d’ expects argument of type ‘int’,
but argument 3 has type ‘std::vector<char*>::size_type {aka long unsigned
int}’ [-Werror=format=]
ids.size(), polls.size());
^
ozwcp.cpp:317:30: error: format ‘%d’ expects argument of type ‘int’,
but argument 4 has type ‘std::vector<bool>::size_type {aka long unsigned
int}’ [-Werror=format=]
cc1plus: all warnings being treated as errors
make: *** [ozwcp.o] Error 1
Any idea
Original comment by roy.sven...@gmail.com
on 28 Nov 2014 at 11:15
Apparently there were modifications to open-zwave project that changed stucture
of some objects. Just put "//" in front of mentioned lines, as they are only
there for information.
Original comment by oleksii.g@gmail.com
on 9 Dec 2014 at 5:10
Original issue reported on code.google.com by
oleksii.g@gmail.com
on 25 Sep 2014 at 12:59