including ESP8266WiFi.h doesn't compile with the recent staging version. The error messages are:
In file included from d:\arduino\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_algobase.h:64:0,
from d:\arduino\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\memory:62,
from D:\arduino\portable\packages\esp8266\hardware\esp8266\1.6.5-1044-g170995a\libraries\ESP8266WiFi\src/WiFiClient.h:28,
from D:\arduino\portable\packages\esp8266\hardware\esp8266\1.6.5-1044-g170995a\libraries\ESP8266WiFi\src/ESP8266WiFi.h:32,
from WeatherDisplay.ino:14:
d:\arduino\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_pair.h:194:21: error: macro "swap" requires 2 arguments, but only 1 given
swap(pair& __p)
^
d:\arduino\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_pair.h:254:50: error: macro "swap" passed 4 arguments, but takes just 2
swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y)
^
d:\arduino\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_pair.h:255:35: error: macro "swap" requires 2 arguments, but only 1 given
noexcept(noexcept(__x.swap(__y)))
^
d:\arduino\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_pair.h:256:19: error: macro "swap" requires 2 arguments, but only 1 given
{ __x.swap(__y); }
^
In file included from d:\arduino\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\memory:63:0,
from D:\arduino\portable\packages\esp8266\hardware\esp8266\1.6.5-1044-g170995a\libraries\ESP8266WiFi\src/WiFiClient.h:28,
from D:\arduino\portable\packages\esp8266\hardware\esp8266\1.6.5-1044-g170995a\libraries\ESP8266WiFi\src/ESP8266WiFi.h:32,
from WeatherDisplay.ino:14:
d:\arduino\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\allocator.h:209:32: error: macro "swap" requires 2 arguments, but only 1 given
__c.get_allocator()).swap(__c);
can sb have a look at it?
thanks,
schufti
p.s.: the project is https://github.com/ardyesp/WeatherDisplay , needing https://github.com/somhi/ESP_SSD1306 and Adafrfuit gfx lib to compile, too.