You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling a sketch and using MFRC522_I2C_library the Arduino IDE reports this message (non blocking but present).
Can you fix it?
thanks. p.
c:\Users...\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp: In member function 'byte MFRC522::PCD_ReadRegister(byte)':
c:\Users...Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:83:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
_TwoWireInstance->requestFrom(_chipAddress, _size);
^
In file included from c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src/MFRC522_I2C.h:82:0,
from c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:10:
C:\Users...\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\libraries\Wire\src/Wire.h:50:10: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^
C:\Users...\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\libraries\Wire\src/Wire.h:47:10: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^
c:\Users...\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp: In member function 'void MFRC522::PCD_ReadRegister(byte, byte, byte*, byte)':
c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:106:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
_TwoWireInstance->requestFrom(_chipAddress, _count);
^
In file included from c:\Users....\Arduino\libraries\MFRC522_I2C_Library-master\src/MFRC522_I2C.h:82:0,
from c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:10:
C:\Users...\Arduino15\packages\arduino\hardware\sam\1.6.12\libraries\Wire\src/Wire.h:50:10: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^
C:\Users...\Arduino15\packages\arduino\hardware\sam\1.6.12\libraries\Wire\src/Wire.h:47:10: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^
c:\Users...\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp: In member function 'byte MFRC522::PCD_CommunicateWithPICC(byte, byte, byte*, byte, byte*, byte*, byte*, byte, bool)':
c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:458:20: warning: '_validBits' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (backLen < 2 || _validBits != 0) {
^
c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp: In member function 'void MFRC522::PICC_DumpMifareClassicSectorToSerial(MFRC522::Uid, MFRC522::MIFARE_Key*, byte)':
c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:1478:4: warning: 'invertedError' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (invertedError) {
^
The text was updated successfully, but these errors were encountered:
Compiling a sketch and using MFRC522_I2C_library the Arduino IDE reports this message (non blocking but present).
Can you fix it?
thanks. p.
c:\Users...\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp: In member function 'byte MFRC522::PCD_ReadRegister(byte)':
c:\Users...Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:83:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
_TwoWireInstance->requestFrom(_chipAddress, _size);
^
In file included from c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src/MFRC522_I2C.h:82:0,
from c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:10:
C:\Users...\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\libraries\Wire\src/Wire.h:50:10: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^
C:\Users...\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\libraries\Wire\src/Wire.h:47:10: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^
c:\Users...\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp: In member function 'void MFRC522::PCD_ReadRegister(byte, byte, byte*, byte)':
c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:106:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
_TwoWireInstance->requestFrom(_chipAddress, _count);
^
In file included from c:\Users....\Arduino\libraries\MFRC522_I2C_Library-master\src/MFRC522_I2C.h:82:0,
from c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:10:
C:\Users...\Arduino15\packages\arduino\hardware\sam\1.6.12\libraries\Wire\src/Wire.h:50:10: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^
C:\Users...\Arduino15\packages\arduino\hardware\sam\1.6.12\libraries\Wire\src/Wire.h:47:10: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^
c:\Users...\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp: In member function 'byte MFRC522::PCD_CommunicateWithPICC(byte, byte, byte*, byte, byte*, byte*, byte*, byte, bool)':
c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:458:20: warning: '_validBits' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (backLen < 2 || _validBits != 0) {
^
c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp: In member function 'void MFRC522::PICC_DumpMifareClassicSectorToSerial(MFRC522::Uid, MFRC522::MIFARE_Key*, byte)':
c:\Users...\Arduino\libraries\MFRC522_I2C_Library-master\src\MFRC522_I2C.cpp:1478:4: warning: 'invertedError' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (invertedError) {
^
The text was updated successfully, but these errors were encountered: