Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
You do not have the correct permissions to perform this operation. Please, contact us at support@mbed.com to gain full access.
×
Hi,
While experimenting with offline compilers (I miss easy refactoring) I ran into compilation issues with the mbed header files, in particular the approach of defining a typedef before the corresponding enum, e.g from PinNames.h.
AFAIK this is not legal C++ as the typedef is forward referencing the enum.