Skip to content

Recursion applied to old format & legacy libraries #41

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
PaulStoffregen opened this issue Oct 31, 2015 · 3 comments
Closed

Recursion applied to old format & legacy libraries #41

PaulStoffregen opened this issue Oct 31, 2015 · 3 comments
Assignees
Milestone

Comments

@PaulStoffregen
Copy link

Recursion seems to be applied to old & legacy format libraries. According to the library spec:

https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification

For backward compatibility with Arduino 1.0.x, the library author may opt to not place
source code into a folder called src. In this case the 1.0 library format is applied and the
source code is searched from the library root folder and the utility folder

Recursion is being used, compiling files in directories other than the main folder and utility. It might also be finding .c and .cpp files within the examples.

I will create a test case....

@PaulStoffregen
Copy link
Author

Here is the test case. This compiles in 1.6.5, but fails on the latest hourly build.

https://github.com/PaulStoffregen/LegacyNorecurseTest

To reproduce the problem, install this library, then Verify its "GoodExample" example.

@ffissore ffissore added this to the 1.0.5 milestone Nov 2, 2015
@ffissore ffissore self-assigned this Nov 2, 2015
@ffissore
Copy link
Contributor

ffissore commented Nov 2, 2015

Good catch! Working on it

@ffissore ffissore added the bug label Nov 2, 2015
@ffissore
Copy link
Contributor

ffissore commented Nov 2, 2015

Fixed. Fix is available with latest hourly build http://www.arduino.cc/en/Main/Software#hourly

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

2 participants