Detect library editing & enable warnings #1826
Labels
criticality: low
Of low impact
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
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.
The text was updated successfully, but these errors were encountered: