Redeclaring `main` doesn't trigger an error
Open
Type: Bug
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
Adding "int main = 0;" before setup() deny any TX Data from your arduino, could anybody confirm it please or if you can explain it :D
Contributor guide
Research direction
Reproduce the reported Arduino sketch with `int main = 0;` before `setup()` and check whether TX data is denied. Start by tracing how the IDE compiles declarations around `setup()`; done means confirming the behavior and documenting whether a diagnostic is expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100