versatica / libmediasoupclient

mediasoup client side C++ library
https://mediasoup.org
ISC License
291 stars 178 forks source link

error: use of enum ‘LogLevel’ without previous declaration #98

Closed jackzhangkun closed 2 years ago

jackzhangkun commented 4 years ago

libmediasoupclient/include/Logger.hpp:55:8: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword 55 | enum class LogLevel : uint8_t | ~~ ^~~

libmediasoupclient/include/Logger.hpp:55:14: error: use of enum ‘LogLevel’ without previous declaration 55 | enum class LogLevel : uint8_t | ^~~~

ubuntu version 20.04 gcc version 9.3.0 cmake version 3.18.2

jmillan commented 2 years ago

Should not be an issue since the addition of this https://github.com/versatica/libmediasoupclient/blob/v3/include/Logger.hpp#L46