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

Ensuring that there is no 'main()' function in user's code when compiling for Arduino #230

Open
divanchykhin opened this issue Jun 7, 2015 · 0 comments

Comments

@divanchykhin
Copy link

Arduino provides its own staff including their own 'main()' function. If user's code happens to have a 'main()' function, too, it can be silently used by a compiler instead of one from Arduino thus producing undesired result. As a potential solution it might be good, in case of Arduino (or, more generally, in case of any framework providing its own code) to check whether user-defined code has a 'main()' function and to report an error.

@divanchykhin divanchykhin changed the title Esuring that there is no 'main()' function in user's code when compiling for Arduino Ensuring that there is no 'main()' function in user's code when compiling for Arduino Jun 7, 2015
@ivankravets ivankravets self-assigned this Jun 7, 2015
@ivankravets ivankravets added this to the 2.2.0 milestone Jun 18, 2015
@ivankravets ivankravets modified the milestone: 2.2.0 Jun 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants