Not able to compile with IAR ARM v8.20.2
Open
upstream bug
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 193
- PR merge metrics
- No merged PRs in 30d
Description
TinyFSM v.0.3.2 can't be compiled using IAR ARM compiler (V8.20.2):

The compiler seems to think that the derived state classes are unreleated to the base class. Using GCC the same code compiles and works fine without any warnings.
Adding a reinterpret_cast in line 137 allows compilation, but maybe there is a better solution/workaround for this?
`current_state_ptr = reinterpret_cast(&_state_instance::value);`
Thanks and best regards
Marvin
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.