Closed maditnerd closed 11 years ago
When you tried to compile the rcswitch library, it will throw warning message.
This is how to fix it:
https://github.com/ninjablocks/433Utils/blob/master/RPi_utils/RCSwitch.cpp#L194 const char* code[5] = { "FFFF", "0FFF", "F0FF", "FF0F", "FFF0" };
const char* code[5] = { "FFFF", "0FFF", "F0FF", "FF0F", "FFF0" };
https://github.com/ninjablocks/433Utils/blob/master/RPi_utils/RCSwitch.cpp#L229 const char* code[6] = { "FFFFF", "0FFFF", "F0FFF", "FF0FF", "FFF0F", "FFFF0" }; Source:http://stackoverflow.com/questions/59670/how-to-get-rid-of-deprecated-conversion-from-string-constant-to-char-warnin
const char* code[6] = { "FFFFF", "0FFFF", "F0FFF", "FF0FF", "FFF0F", "FFFF0" };
Merci!
When you tried to compile the rcswitch library, it will throw warning message.
This is how to fix it:
https://github.com/ninjablocks/433Utils/blob/master/RPi_utils/RCSwitch.cpp#L194
const char* code[5] = { "FFFF", "0FFF", "F0FF", "FF0F", "FFF0" };
https://github.com/ninjablocks/433Utils/blob/master/RPi_utils/RCSwitch.cpp#L229
const char* code[6] = { "FFFFF", "0FFFF", "F0FFF", "FF0FF", "FFF0F", "FFFF0" };
Source:http://stackoverflow.com/questions/59670/how-to-get-rid-of-deprecated-conversion-from-string-constant-to-char-warnin