Skip to content

Detect library editing & enable warnings #1826

Open
@PaulStoffregen

Description

@PaulStoffregen

Perhaps arduino-builder could detect when someone is editing a library's files, rather than just using an installed copy. This might be done by comparing timestamps on library source files to library.properties or other non-source files. Or maybe the presence of a .git folder is enough?

The idea would be to turn on all compiler warnings when building that library. Ordinary users would not be bothered, and library authors would not be bothered by warnings from other libraries, only their's.

Over time, this could lead to a significant improvement in the quality of library code over the entire Arduino ecosystem.

Previously mentioned here.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions