Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IDE 1.8.3 Gives compilation warnings for EEPROM.h #6534

Closed
Labels
Library: EEPROMThe EEPROM Arduino library Type: DuplicateAnother item already exists for this topic
@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; }
 ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    Library: EEPROMThe EEPROM Arduino library Type: DuplicateAnother item already exists for this topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /