Skip to content

IDE 1.8.3 Gives compilation warnings for EEPROM.h #6534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
brownrb opened this issue Jul 19, 2017 · 1 comment
Closed

IDE 1.8.3 Gives compilation warnings for EEPROM.h #6534

brownrb opened this issue Jul 19, 2017 · 1 comment
Labels
Library: EEPROM The EEPROM Arduino library Type: Duplicate Another item already exists for this topic

Comments

@brownrb
Copy link

brownrb commented Jul 19, 2017

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; }

                      ^
@per1234 per1234 added Library: EEPROM The EEPROM Arduino library Type: Duplicate Another item already exists for this topic labels Jul 19, 2017
@per1234
Copy link
Collaborator

per1234 commented Jul 19, 2017

Closing as duplicate of #3783

We welcome bug reports and feature requests but in the future please take the time to search for existing open and closed issues and pull requests before submitting an issue:
https://github.com/arduino/Arduino/issues?&q=

@per1234 per1234 marked this as a duplicate of #3783 Jul 19, 2017
@per1234 per1234 closed this as completed Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Library: EEPROM The EEPROM Arduino library Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

2 participants