Timeline for class enum was not declared in this scope
Current License: CC BY-SA 4.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 1, 2024 at 18:35 | answer | added | AgainPsychoX | timeline score: -1 | |
| Apr 7, 2021 at 9:00 | history | tweeted | twitter.com/StackArduino/status/1379720617482723332 | ||
| Jun 24, 2019 at 9:49 | vote | accept | AJP | ||
| Jun 23, 2019 at 22:28 | comment | added | AJP | Done @SimSon and that was where the "bug" was lurking. See Juraj's answer. | |
| Jun 23, 2019 at 22:15 | history | became hot network question | |||
| Jun 23, 2019 at 22:09 | answer | added | AJP | timeline score: -1 | |
| Jun 23, 2019 at 22:08 | history | edited | AJP | CC BY-SA 4.0 |
Make example more complete
|
| Jun 23, 2019 at 18:14 | answer | added | Juraj♦ | timeline score: 13 | |
| Jun 23, 2019 at 18:06 | history | edited | Michel Keijzers |
edited tags
|
|
| Jun 23, 2019 at 18:00 | answer | added | Michel Keijzers | timeline score: 1 | |
| Jun 23, 2019 at 16:41 | comment | added | Sim Son |
Could you please provide an example that reproduces this comiler error? I embedded your code in the setup()-loop() template and it works!
|
|
| Jun 23, 2019 at 15:46 | comment | added | Juraj♦ |
@chrisl, enum class or enum struct from C++11 is enum where the values can be used only with the enum type name like CYCLE::TypeB.
|
|
| Jun 23, 2019 at 14:47 | comment | added | chrisl |
why do you write enum class instead of just enum?
|
|
| Jun 23, 2019 at 12:44 | comment | added | Juraj♦ | Arduino builder has problems if structs, enums, classes are not defined before the first function | |
| Jun 23, 2019 at 12:14 | history | asked | AJP | CC BY-SA 4.0 |