Global Scope Enumerations Prevent Compilation
Daedelos opened this issue · comments
Duplicate global scope enumerations in libraries (or own code) provent compilation.
ezTime.h enum at line 69 -
typedef enum {
NONE,
ERROR,
INFO,
DEBUG
} ezDebugLevel_t;
confilcts with NONE in ESP32SSDP.h
ESP32SSDP.h has a global scope enumeration at line 51 -
typedef enum {
NONE,
SEARCH,
NOTIFY
} ssdp_method_t;
The global scope enumeration elements (NONE, ERROR, INFO, DEBUG) will conflict with any other variables or other enums and prevent compilation.
error: 'NONE' conflicts with a previous declaration is raised by the compiler in my case