Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Fix amperka/ino#175 moving includes#237

Open
chetgray wants to merge 1 commit into
amperka:masterfrom
chetgray:issue175-moving-includes
Open

Fix amperka/ino#175 moving includes#237
chetgray wants to merge 1 commit into
amperka:masterfrom
chetgray:issue175-moving-includes

Conversation

@chetgray

Copy link
Copy Markdown

Moving #include lines to the beginning of the sketch breaks libraries that
need the main sketch to #define things before they are included. This uses
the preprocessing strategy from upstream Arduino (actually from Processing)
to inject the Arduino.h header include line and the extracted prototype
lines after all initial preprocessor directives and before the first
non-preprocesser statement.

Moving #include lines to the beginning of the sketch breaks libraries that
need the main sketch to #define things before they are included. This uses
the preprocessing strategy from upstream Arduino (actually from Processing)
to inject the Arduino.h header include line and the extracted prototype
lines after all initial preprocessor directives and before the first
non-preprocesser statement.
@creatorrr

Copy link
Copy Markdown

Any updates on this?

@dothebart

Copy link
Copy Markdown

so, ino is dead?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants