Skip to content

Incorrect auto prototype generation with function return type const __FlashStringHelper* #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
per1234 opened this issue Nov 22, 2015 · 1 comment
Assignees
Milestone

Comments

@per1234
Copy link
Contributor

per1234 commented Nov 22, 2015

Using Arduino IDE 1.6.7 2015/11/20 05:49 with Windows 7 64 bit

The automatically generated prototype for function return type const __FlashStringHelper* is missing the space between const and __FlashStringHelper*

void setup() {}
void loop() {}

const __FlashStringHelper* test() {
  return F("y");
}

error message:
sketch_nov22a:4: error: 'const__FlashStringHelper' does not name a type

This problem doesn't occur in Arduino IDE 1.6.5r5

Originally reported at http://forum.arduino.cc/index.php?topic=361074.0

@ffissore
Copy link
Contributor

Fixed. Fix will be available in next hourly build http://www.arduino.cc/en/Main/Software#hourly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants