Webeditor error with SocketIoClient


#include <SocketIoClient.h>
SocketIoClient webSocket;
void setup(){
void loop(){
String login = “test”;
String pswd =“demo”;
String code =“smth”;
webSocket.emit(“login”, login);
webSocket.emit(“pswd”, pswd);
webSocket.emit(“statusCodeServer”, code);
error: macro “min” passed 3 arguments, but takes just 2
./opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -build-path /tmp/480196548/build -hardware opt/arduino-builder/hardware -hardware ./opt/cores -tools opt/arduino-builder/tools -tools ./opt/tools -built-in-libraries opt/libraries/latest -libraries /tmp/480196548/pinned -libraries /tmp/480196548/custom -fqbn arduino:samd:mkr1000 -build-cache /tmp -logger humantags -verbose=false /tmp/480196548/Simple_sockeio

In file included from /home/admin/builder/opt/tools/arm-none-eabi-gcc/4.8.3-2014q1/arm-none-eabi/include/c++/4.8.3/bits/stl_tree.h:61:0,

from /home/admin/builder/opt/tools/arm-none-eabi-gcc/4.8.3-2014q1/arm-none-eabi/include/c++/4.8.3/map:60,

from /home/admin/builder/opt/libraries/latest/socketioclient-0-1-0/SocketIoClient.h:5,

from /tmp/480196548/Simple_sockeio/Simple_sockeio.ino:1:

/home/admin/builder/opt/tools/arm-none-eabi-gcc/4.8.3-2014q1/arm-none-eabi/include/c++/4.8.3/bits/stl_algobase.h:239:56: error: macro “min” passed 3 arguments, but takes just 2

min(const _Tp& __a, const _Tp& __b, _Compare __comp)


/home/admin/builder/opt/tools/arm-none-eabi-gcc/4.8.3-2014q1/arm-none-eabi/include/c++/4.8.3/bits/stl_algobase.h:260:56: error: macro “max” passed 3 arguments, but takes just 2

max(const _Tp& __a, const _Tp& __b, _Compare __comp)


exit status 1

I am getting this fault with all examples using SocketIoClient.h
Somebody can help me?

Are you using the webeditor on a Chrome OS device? What OS are you using and what browser?

Yes I am using webeditor on a Chrome OS HP Chromebook.
Version 63.0.3239.116 (Official Build) (64-bit)

Thank you for your assistance

It looks like the SocketIoClient library is in general not compatible with the MKR1000.

Have you successfully used it outside Arduino Create with the Java IDE? Note: This library is not maintained by Arduino and is a contributed lib.

I have been successfully link socketio with Arduino.
But now i want to use wifi capabilities, I checked sockeioclient support boards and i found MKR1000, have you use this library? what arduino board can i use? i dont want to go out of arduino ide.