Timeline for class enum was not declared in this scope
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 1, 2024 at 18:57 | comment | added | Juraj♦ | @AgainPsychoX you have to put it before all functions | |
| Jan 1, 2024 at 18:29 | comment | added | AgainPsychoX | I don't understand the workaround. I already have my enum declared before the function using it as argument, but I still get the error. | |
| Apr 26, 2023 at 4:56 | comment | added | Thomas Weller | +1 for the answer and -1 for the Arduino IDE. Valid C++ should simply compile. I don't want to learn the quirks of another programming language if I can already program C++. I can't believe this hasn't been resolved in the last 4 years. | |
| Apr 7, 2021 at 8:56 | history | edited | Juraj♦ | CC BY-SA 4.0 |
added 6 characters in body
|
| Jun 24, 2019 at 9:49 | comment | added | AJP | Done. Thanks @Juraj | |
| Jun 24, 2019 at 9:49 | vote | accept | AJP | ||
| Jun 24, 2019 at 7:02 | comment | added | Juraj♦ | @AJP, I know about this bug so I identified it in your Question, but I could not know what function do you have before the enum. I wrote the answer more generic. Now I added something about workaround. | |
| Jun 24, 2019 at 4:56 | history | edited | Juraj♦ | CC BY-SA 4.0 |
added 143 characters in body
|
| Jun 23, 2019 at 22:11 | comment | added | AJP | please see my answer. If you can edit yours to include / clarify this I'll delete mine and mark yours as correct. Many thanks. | |
| Jun 23, 2019 at 18:14 | history | answered | Juraj♦ | CC BY-SA 4.0 |