Arduino IDE preprocessor causes unknown type references from prototype creation #2304
Labels
Component: Compilation
Related to compilation of Arduino sketches
Component: IDE
The Arduino IDE
Component: Preprocessor
The Arduino sketch preprocessor converts .ino files into C++ code before compilation
Type: Bug
Milestone
Functions using/returned an object, structs or using typedefs cause bad code to be fed to the compiler:
Source code:
http://0bin.net/paste/Xz5MZdbmuafYUQ2Q#567rrlhZy8-xCaiI7geiRXEZ+DFo92e4dpZ/cAJvJ3j
Arduino preprocessed code (fed to avr-g++):
http://0bin.net/paste/JgtLxMb23ZOaGJMu#RYZv9sCkcSXeapn0XXRCKphshFH38YLSHmGmn2Iy4EL
The text was updated successfully, but these errors were encountered: