You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note the function prototype "const__FlashStringHelper* test(bool temp);" is missing the space after "const".
As expected, it fails to compile:
sketch_nov22a:9: error: 'const__FlashStringHelper' does not name a type
const __FlashStringHelper* test(bool temp) {
^
C:\Users\taylorc\AppData\Local\Temp\arduino_4790fd94ec03044aef00d007e6734c0b\sketch_nov22a.ino: In function 'void setup()':
sketch_nov22a:4: error: 'test' was not declared in this scope
Serial.print(test(true));
^
exit status 1
'const__FlashStringHelper' does not name a type
From @Etherfi on November 22, 2015 22:37
Example code:
Generated code in sketch_nov22a.ino.cpp:
Note the function prototype "const__FlashStringHelper* test(bool temp);" is missing the space after "const".
As expected, it fails to compile:
Copied from original issue: arduino/Arduino#4202
The text was updated successfully, but these errors were encountered: