Skip to content

obsolete library used while compiling [imported] #889

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
cmaglie opened this issue Nov 15, 2012 · 1 comment
Closed

obsolete library used while compiling [imported] #889

cmaglie opened this issue Nov 15, 2012 · 1 comment
Assignees
Labels
Component: IDE The Arduino IDE
Milestone

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 889 moved from a Google Code project.
Added by 2012-04-16T19:13:07.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium

Original description

What change would like to see?
using a obsolete library in the user library folder the compiler should produce a 'wrong library' message.
alternatively: Standard Libraries should only be read from the app library folder.

Why?
Now a message looks like this:
In file included from TwoPortReceive.cpp:27:
/Users/gbosch/Documents/Arduino/libraries/SoftwareSerial/SoftwareSerial.h:95: error: conflicting return type specified for 'virtual void SoftwareSerial::write(uint8_t)'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
(a bit intimidating on users like me)

The error is caused while using a SoftwareSerial.h header file from the -obsolete- SoftwareSerial library in the user library folder. The correct library is in the app library folder.

Would this cause any incompatibilities with previous versions?
Not likely.

If so, howcan these be mitigated?

@ffissore
Copy link
Contributor

Fixed #2850 part of 1.6.4

@ffissore ffissore added the Component: IDE The Arduino IDE label May 26, 2015
@ffissore ffissore added this to the Release 1.6.5 milestone May 26, 2015
@ffissore ffissore self-assigned this May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE
Projects
None yet
Development

No branches or pull requests

3 participants