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

Additional source files that start with RCS are no longer included in a project #522

Closed
tobiasisenberg opened this issue Dec 17, 2019 · 2 comments · Fixed by #537
Closed
Milestone

Comments

@tobiasisenberg
Copy link

Bug Report

Current behavior

MyOwnTest.zip
If you try to compile the attached example that includes external local files, this fails. This used to work in 1.8.9. The effect started in 1.8.10. This only happens for specific included file names, namely *.h and *.cpp files that start with "RCS".

Interestingly, if the name of *.ino file is "test" or "bug" I get a completely different compile error:
panic: runtime error: invalid memory address or nil pointer dereference
Very strange, you can try it out by renaming *.ino and directory to bug.

Expected behavior

The code compiles normally.

Environment

  • CLI version (output of arduino-cli version): 1.8.10
  • OS and platform: Windows 10, 64bit

Additional context

@matthijskooijman
Copy link
Collaborator

I suspect this changed due to #366

@masci masci added the kind/bug label Dec 18, 2019
@masci
Copy link
Contributor

masci commented Dec 18, 2019

The function used in #366 is supposed to filter out files within folders called RCS so this is a bug, a source tree like the attached archive must compile without problems.

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

Successfully merging a pull request may close this issue.

3 participants