Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add diagnostics in the preprocessor #2511

Closed
3 tasks done
alessio-perugini opened this issue Jan 24, 2024 · 0 comments · Fixed by #2515
Closed
3 tasks done

Add diagnostics in the preprocessor #2511

alessio-perugini opened this issue Jan 24, 2024 · 0 comments · Fixed by #2515
Assignees
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@alessio-perugini
Copy link
Contributor

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
@alessio-perugini alessio-perugini added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jan 24, 2024
@alessio-perugini alessio-perugini added this to the Arduino CLI v0.36.0 milestone Jan 24, 2024
@alessio-perugini alessio-perugini self-assigned this Jan 25, 2024
@alessio-perugini alessio-perugini linked a pull request Jan 29, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant