do NOT create a sketch main.ino!!!!!

I may be posting this in the wrong place. If so, sorry.

I found this out the hard way:

If you create a sketch and name it main, it will NOT compile. I assume arduino defines it somewhere, though I could not find it.

I have version 1.0.1. I don't know if this is true in other versions.

I don't know if this is true in other versions.

It is.

main has a special meaning in C/C++ so it's no surprise that you had problems. The brings in a file called main.

Mark