Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not compiling Arduino 1.8.5. and arest 2.7.0 #30

Open
michalsprawka opened this issue Mar 28, 2018 · 1 comment
Open

not compiling Arduino 1.8.5. and arest 2.7.0 #30

michalsprawka opened this issue Mar 28, 2018 · 1 comment

Comments

@michalsprawka
Copy link

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) {
^
(...)

@marcoschwartz
Copy link
Owner

Hi, thanks for reporting that! I just released aREST 2.7.1 that should fix this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants