-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
@brownrb
Description
There are warnings in the EEPROM.h file provided with Arduino release. Should not the code be cleaned up so as not to produce warnings?
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^