Skip to content

Compiling Basic Example emits warnings #10

@sk8nfool

Description

@sk8nfool

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions