Skip to content

Advise users of duplicate libraries #2847

Closed
@PaulStoffregen

Description

@PaulStoffregen

Sometimes Arduino users will install a duplicate copy of a library, or another library that appears to be a duplicate due to conflicting header file names. Sometimes this actually works, but breaks months or years later when other code depending on those libraries updates, long after the user as forgotten they installed the library.

When this problem strikes, the user gets incomprehensible compiler errors.

Arduino should detect duplicate or ambiguous library matches and print a friendly warning after compiling, even if no error resulted, to give users clear visibility that it had to guess which library to build into their program.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions