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

enum class error. :( #45

Open
sFaster opened this issue Feb 17, 2024 · 1 comment
Open

enum class error. :( #45

sFaster opened this issue Feb 17, 2024 · 1 comment

Comments

@sFaster
Copy link

sFaster commented Feb 17, 2024

Hi.
I am solving under message.
I using C++17 in ubuntu 22.04.

include/CppLinuxSerial/SerialPort.hpp:89:13: error: expected identifier before numeric constant
89 | OFF,

What can I do for?

Thank you.

@gbmhunter
Copy link
Owner

Hmmm, I don't think there is a syntax error in the header file. Do you potentially have a preprocessor macro assigned to "OFF" that replaces it with a number (probably 0) passed in at compile time?

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