-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Library: EEPROMThe EEPROM Arduino libraryThe EEPROM Arduino libraryType: DuplicateAnother item already exists for this topicAnother item already exists for this topicfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)
Description
Under 1.6.4 of the IDE (and reportedly under nightly builds as well) compiling an EEPROM example gives this warning:
In file included from eeprom_get.ino:18:0:
/home/nick/Development/arduino-1.6.4/hardware/arduino/avr/libraries/EEPROM/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
/home/nick/Development/arduino-1.6.4/hardware/arduino/avr/libraries/EEPROM/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
To fix, remove the first const from both of those lines.
per1234, Pharap and d-a-vd-a-vd-a-vAle-XYX and d-a-v
Metadata
Metadata
Assignees
Labels
Library: EEPROMThe EEPROM Arduino libraryThe EEPROM Arduino libraryType: DuplicateAnother item already exists for this topicAnother item already exists for this topicfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)