Mistakes which would have been caught if, by default, the compiler warnings had been enabled such as using millis() but forgetting the parentheses, silent declaration of variables in some situations or declaring variables in the context of a switch statement (already mentioned). Also, forgetting about the consequences of the automatic function prototype generation feature.
1 Like