ezTime icon indicating copy to clipboard operation
ezTime copied to clipboard

Conflicting with SSDP library !!!

Open ruslanx3m opened this issue 4 years ago • 0 comments

Conflicting with SSDP (ESP8266SSDP.h) library !!!

// ESP8266SSDP.h
typedef enum {
  NONE,
  SEARCH,
  NOTIFY
} ssdp_method_t;


// ezTime.h
typedef enum {
  NONE, 
  ERROR,
  INFO,
  DEBUG
} ezDebugLevel_t;


void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly:
}

libraries\ezTime\src/ezTime.h:69:2: error: redeclaration of 'NONE' libraries\ESP8266SSDP/ESP8266SSDP.h:51:3: note: previous declaration 'ssdp_method_t NONE'

renamed to

// ezTime.h
typedef enum {
   T_NONE, 
   T_ERROR,
   T_INFO,
   T_DEBUG
} ezDebugLevel_t;

and other in lib ...

UPD: bad library (unfinished), ... conficts with blynk-timer (global structures), can not use EEPROM (is erased by lib) .. lost full day .. how to disable cache ?

ruslanx3m avatar Oct 05 '20 15:10 ruslanx3m