In file included from C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/pgmspace.h:12:0,
from C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Arduino.h:241,
from C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp:1:
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/ets_sys.h:160:7: error: previous declaration 'void* pvPortMalloc(size_t, const char*, int)' here
void _pvPortMalloc(sizet xWantedSize, const char file, int line) attribute((malloc, alloc_size(1)));
^
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:19:0:
C:\Users\adam\Documents\Arduino\libraries\webserver/mem_manager.h:74:26: error: declaration of C function 'void vPortFree(void*)' conflicts with
void vPortFree( void *pv ) ;//ICACHE_FLASH_ATTR;
^
In file included from C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/pgmspace.h:12:0,
from C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Arduino.h:241,
from C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp:1:
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/etssys.h:162:6: error: previous declaration 'void vPortFree(void, const char_, int)' here
void vPortFree(void ptr, const char file, int line);
^
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\Documents\Arduino\web_server\web_server.ino: In function 'void SdkWebServerrecv(void, char_, short unsigned int)':
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
^
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:198:31: note: in expansion of macro 'os_zalloc'
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
^
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
^
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:207:19: note: in expansion of macro 'os_zalloc'
pRx = (char *)os_zalloc(512);
^
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
^
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\Documents\Arduino\web_server\web_server.ino: In function 'void SdkWebServersenddata(void, bool, char_)':
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
^
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:322:28: note: in expansion of macro 'os_zalloc'
pbuf = (char *)os_zalloc(length + 1);
^
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
^
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\Documents\Arduino\web_server\web_server.ino: In function 'bool SdkWebServer_savedata(char*, uint16)':
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
^
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:392:33: note: in expansion of macro 'os_zalloc'
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
^
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
^
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:395:33: note: in expansion of macro 'os_zalloc'
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
^
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\Documents\Arduino\web_server\web_server.ino: In function 'void SdkWebServer_parse_urlparams(char, URLParam)':
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
^
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:446:26: note: in expansion of macro 'os_zalloc'
pbufer = (char *)os_zalloc(length + 1);
^
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
^
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi
Using library UtilityFunctions at version 1.0.0 in folder: C:\Users\adam\Documents\Arduino\libraries\UtilityFunctions
Using library webserver in folder: C:\Users\adam\Documents\Arduino\libraries\webserver (legacy)
exit status 1
Error compiling for board Generic ESP8266 Module.
Arduino: 1.6.9 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\adam\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\adam\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\adam\Documents\Arduino\libraries" -fqbn=esp8266:esp8266:generic:CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=512K64,ResetMethod=ck,Debug=Disabled,DebugLevel=None -ide-version=10609 -build-path "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\adam\Documents\Arduino\web_server\web_server.ino" C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\adam\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\adam\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\adam\Documents\Arduino\libraries" -fqbn=esp8266:esp8266:generic:CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=512K64,ResetMethod=ck,Debug=Disabled,DebugLevel=None -ide-version=10609 -build-path "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\adam\Documents\Arduino\web_server\web_server.ino" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets__ -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets__ -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\ESP8266WiFiAP.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\ESP8266WiFiGeneric.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\ESP8266WiFiMulti.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\ESP8266WiFiSTA.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\ESP8266WiFiScan.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\WiFiClient.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\WiFiClientSecure.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\WiFiServer.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src\WiFiUdp.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\adam\Documents\Arduino\libraries\UtilityFunctions\UtilityFunctions.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp" -o "nul" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp" -o "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/lwip/include" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10609 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\variants\generic" "-IC:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src" "-IC:\Users\adam\Documents\Arduino\libraries\UtilityFunctions" "-IC:\Users\adam\Documents\Arduino\libraries\webserver" "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp" -o "C:\Users\ADAM~1\AppData\Local\Temp\buildb617c77ae3055ddade5f9f6f4fae3c12.tmp\sketch\web_server.ino.cpp.o" In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:19:0:
C:\Users\adam\Documents\Arduino\libraries\webserver/mem_manager.h:72:40: error: declaration of C function 'void* pvPortMalloc(size_t)' conflicts with
void *pvPortMalloc( size_t xWantedSize ) ;//ICACHE_FLASH_ATTR;
In file included from C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/pgmspace.h:12:0,
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/ets_sys.h:160:7: error: previous declaration 'void* pvPortMalloc(size_t, const char*, int)' here
void _pvPortMalloc(sizet xWantedSize, const char file, int line) attribute((malloc, alloc_size(1)));
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:19:0:
C:\Users\adam\Documents\Arduino\libraries\webserver/mem_manager.h:74:26: error: declaration of C function 'void vPortFree(void*)' conflicts with
void vPortFree( void *pv ) ;//ICACHE_FLASH_ATTR;
In file included from C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/pgmspace.h:12:0,
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/etssys.h:162:6: error: previous declaration 'void vPortFree(void, const char_, int)' here
void vPortFree(void ptr, const char file, int line);
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\Documents\Arduino\web_server\web_server.ino: In function 'void SdkWebServerrecv(void, char_, short unsigned int)':
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:198:31: note: in expansion of macro 'os_zalloc'
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:207:19: note: in expansion of macro 'os_zalloc'
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\Documents\Arduino\web_server\web_server.ino: In function 'void SdkWebServersenddata(void, bool, char_)':
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:322:28: note: in expansion of macro 'os_zalloc'
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\Documents\Arduino\web_server\web_server.ino: In function 'bool SdkWebServer_savedata(char*, uint16)':
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:392:33: note: in expansion of macro 'os_zalloc'
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:395:33: note: in expansion of macro 'os_zalloc'
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
In file included from C:\Users\adam\Documents\Arduino\web_server\web_server.ino:20:0:
C:\Users\adam\Documents\Arduino\web_server\web_server.ino: In function 'void SdkWebServer_parse_urlparams(char, URLParam)':
C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0/tools/sdk/include/mem.h:20:48: error: too many arguments to function 'void* pvPortZalloc(int)'
define os_zalloc(s) pvPortZalloc(s, "", 0)
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:446:26: note: in expansion of macro 'os_zalloc'
C:\Users\adam\Documents\Arduino\web_server\web_server.ino:25:8: note: declared here
void * pvPortZalloc(int size);
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi Using library UtilityFunctions at version 1.0.0 in folder: C:\Users\adam\Documents\Arduino\libraries\UtilityFunctions Using library webserver in folder: C:\Users\adam\Documents\Arduino\libraries\webserver (legacy) exit status 1 Error compiling for board Generic ESP8266 Module.