Skip to content

Default warnings level for compiling should be "default" #684

Open
@nerdralph

Description

@nerdralph

Bug Report

DEFAULT_WARNINGS_LEVEL is "none"

Current behavior

DEFAULT_WARNINGS_LEVEL is set to "none"

const DEFAULT_WARNINGS_LEVEL = "none"

Expected behavior

const DEFAULT_WARNINGS_LEVEL = "default"

Environment

Version: 0.10.0 Commit: ec5c3ed

Additional context

The Arduino IDE has four preferences options for warnings: None, Default, More, All
based on the selection, "none", "default", "more", or "all" gets concatenated with compiler.warning_flags. and the corresponding option from platform.txt is used in the build flags.
https://github.com/arduino/ArduinoCore-avr/blob/master/platform.txt#L16

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions