Closed this issue a year ago · 1 comments
The unscoped enum socket definition collides with the top definition and GCC 12 complains.
socket
Use an enum class.
enum class
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.
static_cast