Skip to content
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

Compiling Basic Example emits warnings #10

Open
sk8nfool opened this issue Jan 18, 2018 · 0 comments
Open

Compiling Basic Example emits warnings #10

sk8nfool opened this issue Jan 18, 2018 · 0 comments

Comments

@sk8nfool
Copy link

I downloaded Flash-5.tar.gz and installed it in the Arduino libraries folder (C:\Users...me...\Documents\Arduino\libraries on my machine).
I then started Arduino and opened the Flash Basic example and compiled it for a Adafruit Trinket Pro (an avr board). I got several "comparison between signed and unsigned" warnings which I fixed (changed "for (int i...." to "for (size_t i....").

I also got two "dereferencing type-punned pointer will break strict-aliasing rules ..." warnings which I don't know how to fix.

I ran the result and it seemed to work.

I am using Arduino 1.8.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant