QuickSander / ArduinoHttpServer

Server side minimalistic HTTP protocol implementation for the Arduino platform.
GNU General Public License v3.0
23 stars 11 forks source link

Fix build error in PlatformIO #14

Closed tzzee closed 5 years ago

QuickSander commented 5 years ago

Could you indicate the build error you were getting?

tzzee commented 5 years ago

Sorry for the late reply...

.piolibdeps/ArduinoHttpServer_ID581@0.9.0/src/internals/StreamHttpRequest.hpp:331:148: error: redeclaration of 'void ArduinoHttpServer::StreamHttpRequest<MAX_BODY_SIZE>::setError(A
rduinoHttpServer::StreamHttpRequest<MAX_BODY_SIZE>::Error, const ErrorMessageString&)' may not have default arguments [-fpermissive]
void ArduinoHttpServer::StreamHttpRequest<MAX_BODY_SIZE>::setError(const Error error, const ErrorMessageString& errorMessage = ErrorMessageString())

And now, I confirmed the correction @0.9.5

QuickSander commented 5 years ago

No problem. I was able to reproduce it a bit later after my initial comment after all. Thanks for the help.