ropg / ezTime

ezTime — pronounced "Easy Time" — is a very easy to use Arduino time and date library that provides NTP network time lookups, extensive timezone support, formatted time and date strings, user events, millisecond precision and more.
MIT License
327 stars 92 forks source link

Conflicting with SSDP library !!! #100

Open ruslanx3m opened 3 years ago

ruslanx3m commented 3 years ago

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_methodt 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 ?