Incorrect placement of auto-generated prototypes gives misleading error messages #362
Labels
topic: code
Related to content of the project itself
topic: preprocessor
Related to sketch preprocessing
type: imperfection
Perceived defect in any part of project
This issue is also mentioned here: https://forum.arduino.cc/index.php?topic=711626.0 (post #7)
The expected behaviour is that this simple code example should compile:
The observed behaviour is this:
The reason is clearly that one auto-generated function prototype has been wrongly placed (from the file ino.cpp ):
The text was updated successfully, but these errors were encountered: