Skip to content
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

expected class-name before '{' token #2

Open
zomerfeld opened this issue Mar 10, 2017 · 1 comment
Open

expected class-name before '{' token #2

zomerfeld opened this issue Mar 10, 2017 · 1 comment

Comments

@zomerfeld
Copy link

Hey everyone. This used to work fine a few months ago and now I'm getting this compiling error. Any idea what changed?

Veryfing code using this library in Particle Build fails with this error:

Adafruit_Thermal/Adafruit_Thermal.h:36:39: error: expected class-name before '{' token
 class Adafruit_Thermal : public Print {
                                       ^
@atheros
Copy link
Owner

atheros commented Mar 11, 2017

Those are the "benefits" of cloud base IDEs. They changed something in the firmware and you can't use older version. Classes Print and Stream are missing.

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