google-code-export / openzwave-control-panel

Automatically exported from code.google.com/p/openzwave-control-panel
1 stars 0 forks source link

Pb Make : zwavelib.cpp: In function âconst char* #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
When I try to make ozwcp, I have the following error.

What is the expected output? What do you see instead?
make ozwcp.o
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
root@mk-synology:/mnt/package/openzwave/openzwave-control-panel# make 
webserver.o
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 webserver.o webserver.cpp
root@mk-synology:/mnt/package/openzwave/openzwave-control-panel# make ozwcp
make: AVERTISSEMENT: fichier « ozwcp.o » a une date de modification 
1,4e+02 dans le futur
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 zwavelib.o zwavelib.cpp
cc1plus: warnings being treated as errors
zwavelib.cpp: In function âconst char* 
valueTypeStr(OpenZWave::ValueID::ValueType)â:
zwavelib.cpp:75: error: enumeration value âValueType_Rawâ not handled in 
switch
zwavelib.cpp:75: error: enumeration value âValueType_Maxâ not handled in 
switch
make: *** [zwavelib.o] Erreur 1

What version of the product are you using? On what operating system?
Revision 35

Sorry for my english (I'm french).

Thanks
Thomas

Original issue reported on code.google.com by tguenneg...@somone.fr on 15 Jan 2013 at 7:28

GoogleCodeExporter commented 9 years ago
Just checked in the patch. Give it a try and let me know.

Original comment by glsatz on 15 Jan 2013 at 7:34

GoogleCodeExporter commented 9 years ago
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Original comment by tguenneg...@somone.fr on 15 Jan 2013 at 7:36

GoogleCodeExporter commented 9 years ago
Fixed in r36

Original comment by glsatz on 15 Jan 2013 at 7:19