blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.84k stars 1.39k forks source link

ESP example doesn't compile with code from master #303

Closed doom369 closed 7 years ago

doom369 commented 7 years ago
In file included from /Users/alex/Documents/Arduino/libraries/blynk/src/Blynk/BlynkApi.h:17:0,
                 from /Users/alex/Documents/Arduino/libraries/blynk/src/BlynkApiArduino.h:14,
                 from /Users/alex/Documents/Arduino/libraries/blynk/src/BlynkSimpleEsp8266.h:18,
                 from /Users/alex/Documents/Arduino/libraries/blynk/examples/Boards_WiFi/ESP8266_Standalone/ESP8266_Standalone.ino:37:
/Users/alex/Documents/Arduino/libraries/blynk/src/Blynk/BlynkTimer.h:34:14: error: conflicting declaration 'typedef bool boolean'
 typedef bool boolean;
              ^
In file included from sketch/ESP8266_Standalone.ino.cpp:1:0:
/Users/alex/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/Arduino.h:186:17: error: 'boolean' has a previous declaration as 'typedef uint8_t boolean'
 typedef uint8_t boolean;
                 ^
exit status 1
Error compiling for board Generic ESP8266 Module.

lastest master, just checked it out 5662555a63344033bf7ac1b102a5f89332acbb4f if i checkout 202909fbbcaea8808dc86cdfb96de86b99151535, right before add blynk timer