Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add diagnostics in the preprocessor #2511

Closed
Assignees
Labels
topic: codeRelated to content of the project itself type: enhancementProposed improvement
@alessio-perugini

Description

Describe the request

Add diagnostics support in the preprocessing.
In #2182 we implemented the support of diagnostics in the compilation phase.
The parser should be able to handle the output coming from the processor as GCC backs it.

Describe the current behavior

Currently, we support the new diagnostics field only when something bad happens in the compilation.

Arduino CLI version

main

Operating system

Linux

Operating system version

Ubuntu 23.04

Additional context

As an example, we should see diagnostics if we use this sketch:

#ouch!
void setup() {}
void loop() {}

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Metadata

Metadata

Labels

topic: codeRelated to content of the project itself type: enhancementProposed improvement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /