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

Fix amperka/ino#175 moving includes #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chetgray
Copy link

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

Any updates on this?

@dothebart
Copy link

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