micro-os-plus/micro-os-plus-iii

Make os::posix::io::type a scoped enum

Closed this issue · 1 comments

ilg-ul commented

The unscoped enum socket definition collides with the top definition and GCC 12 complains.

Use an enum class.

ilg-ul commented

Fixed on 2023-06-08.

Notice: this bug fix might be a breaking change for classes using the enum definition, which need to be adjusted with the static_cast.