You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PlatformIO Core.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: Ubuntu 20.04.6 LTS
PlatformIO Version (platformio --version): 6.1.14
Description of problem
Projects that use a newer version of a library (^3.1.0) but a dependency uses an older version of the same library (^2.3.0) are built with the include directories of both versions (and the older one has precedence).
Steps to Reproduce
platformio run
Actual Results
Build fails because the project uses a function that is only present in the newer version of the library but the included header is from the older version.
Expected Results
Build is successful with only one version of the library's header files present.
What kind of issue is this?
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: Ubuntu 20.04.6 LTS
PlatformIO Version (
platformio --version
): 6.1.14Description of problem
Projects that use a newer version of a library (
^3.1.0
) but a dependency uses an older version of the same library (^2.3.0
) are built with the include directories of both versions (and the older one has precedence).Steps to Reproduce
platformio run
Actual Results
Build fails because the project uses a function that is only present in the newer version of the library but the included header is from the older version.
Expected Results
Build is successful with only one version of the library's header files present.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
This was introduced after 6.1.13, in 6.1.14:
The text was updated successfully, but these errors were encountered: