very long error message
Arduino:1.8.5 (Mac OS X), Płytka:"Adafruit Feather HUZZAH ESP8266, 80 MHz, 4M (3M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/examples/ESP8266/ESP8266.ino:11:0:
/Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/aREST_UI.h: In member function 'virtual void aREST_UI::root_answer()':
/Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/aREST_UI.h:93:69: error: no matching function for call to 'aREST_UI::addToBuffer(const char [45])'
addToBuffer("HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n");
^
/Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/aREST_UI.h:93:69: note: candidates are:
In file included from /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/examples/ESP8266/ESP8266.ino:10:0:
/Users/michalsprawka/Documents/Arduino/libraries/aREST/aREST.h:1600:6: note: template void aREST::addToBuffer(T, bool)
void addToBuffer(T toAdd, bool quotable) {
^
/Users/michalsprawka/Documents/Arduino/libraries/aREST/aREST.h:1600:6: note: template argument deduction/substitution failed:
In file included from /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/examples/ESP8266/ESP8266.ino:11:0:
/Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/aREST_UI.h:93:69: note: candidate expects 2 arguments, 1 provided
addToBuffer("HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n");
^
In file included from /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/examples/ESP8266/ESP8266.ino:10:0:
/Users/michalsprawka/Documents/Arduino/libraries/aREST/aREST.h:1606:6: note: template void aREST::addToBuffer(T ()(), bool)
void addToBuffer(T(toAdd)(), bool quotable) {
^
(...)
very long error message Arduino:1.8.5 (Mac OS X), Płytka:"Adafruit Feather HUZZAH ESP8266, 80 MHz, 4M (3M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/examples/ESP8266/ESP8266.ino:11:0: /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/aREST_UI.h: In member function 'virtual void aREST_UI::root_answer()': /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/aREST_UI.h:93:69: error: no matching function for call to 'aREST_UI::addToBuffer(const char [45])' addToBuffer("HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n"); ^ /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/aREST_UI.h:93:69: note: candidates are: In file included from /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/examples/ESP8266/ESP8266.ino:10:0: /Users/michalsprawka/Documents/Arduino/libraries/aREST/aREST.h:1600:6: note: template void aREST::addToBuffer(T, bool)
void addToBuffer(T toAdd, bool quotable) {
^
/Users/michalsprawka/Documents/Arduino/libraries/aREST/aREST.h:1600:6: note: template argument deduction/substitution failed:
In file included from /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/examples/ESP8266/ESP8266.ino:11:0:
/Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/aREST_UI.h:93:69: note: candidate expects 2 arguments, 1 provided
addToBuffer("HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n");
^
In file included from /Users/michalsprawka/Documents/Arduino/libraries/aREST_UI/examples/ESP8266/ESP8266.ino:10:0:
/Users/michalsprawka/Documents/Arduino/libraries/aREST/aREST.h:1606:6: note: template void aREST::addToBuffer(T ()(), bool)
void addToBuffer(T(toAdd)(), bool quotable) {
^
(...)