I get the following errors when compiling with makeESPArduino. Here are the tags/versions of each required package I am using:
root@1eede81c43bf:/usr/local/src/og/OpenGarage# make
uart.c
time.c
Tone.cpp
core_esp8266_wiring_digital.c
core_esp8266_flash_utils.c
pgmspace.cpp
umm_malloc.c
core_esp8266_si2c.c
core_esp8266_wiring_shift.c
core_esp8266_postmortem.c
Schedule.cpp
cbuf.cpp
cont_util.c
base64.cpp
core_esp8266_wiring_analog.c
spiffs_api.cpp
core_esp8266_wiring_pwm.c
libc_replacements.c
core_esp8266_phy.c
StreamString.cpp
core_esp8266_wiring_pulse.c
WMath.cpp
Esp.cpp
HardwareSerial.cpp
WString.cpp
core_esp8266_i2s.c
core_esp8266_timer.c
abi.cpp
core_esp8266_wiring.c
core_esp8266_eboot_command.c
Stream.cpp
MD5Builder.cpp
core_esp8266_main.cpp
debug.cpp
IPAddress.cpp
spiffs_check.c
cdecode.c
spiffs_gc.c
spiffs_nucleus.c
spiffs_hydrogen.c
core_esp8266_noniso.c
spiffs_cache.c
cencode.c
heap.c
Print.cpp
ogMainArduino.ino
cont.S
ESP8266WiFiScan.cpp
WiFiUdp.cpp
ESP8266WiFiSTA.cpp
Wire.cpp
ESP8266WiFi.cpp
ESP8266WiFiMulti.cpp
WiFiClient.cpp
ESP8266WiFiGeneric.cpp
WiFiClientSecure.cpp
WiFiServer.cpp
ESP8266WiFiAP.cpp
ESP8266mDNS.cpp
DNSServer.cpp
BlynkDebug.cpp
ESP8266HTTPClient.cpp
ESP8266WebServer.cpp
main.cpp
Parsing.cpp
utility.cpp
BlynkTimer.cpp
subscribe_spec.cpp
BlynkHandlers.cpp
keepalive_spec.cpp
receive_spec.cpp
connect_spec.cpp
Buffer.cpp
BDDTest.cpp
ShimClient.cpp
publish_spec.cpp
MQTT.cpp
PubSubClient.cpp
Ticker.cpp
OpenGarage.cpp
espconnect.cpp
html2raw.cpp
Updater.cpp
spiffs_hal.cpp
FS.cpp
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:15:0,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:1:
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsgetn(std::basic_streambuf<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:15:0,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:1:
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsgetn(std::basic_streambuf<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:15:0,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsgetn(std::basic_streambuf<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:15:0,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:1:
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsgetn(std::basic_streambuf<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:15:0,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsgetn(std::basic_streambuf<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/istream.tcc: In member function 'std::streamsize std::basic_istream<_CharT, _Traits>::readsome(std::basic_istream<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/istream.tcc: In member function 'std::streamsize std::basic_istream<_CharT, _Traits>::readsome(std::basic_istream<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/istream.tcc: In member function 'std::streamsize std::basic_istream<_CharT, _Traits>::readsome(std::basic_istream<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_fails_no_network()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:19:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:19:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp: In function 'int test_subscribe_no_qos()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:24:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:24:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp: In function 'int test_keepalive_pings_idle()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:24:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:24:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_fails_on_no_response()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:29:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:29:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_properly_formatted()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:48:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:34:16: error: 'sleep' was not declared in this scope
sleep(1);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp: In function 'int test_keepalive_pings_with_outbound_qos0()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:53:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:53:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/istream.tcc: In member function 'std::streamsize std::basic_istream<_CharT, _Traits>::readsome(std::basic_istream<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:48:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_properly_formatted_hostname()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:65:77: error: no matching function for call to 'PubSubClient::PubSubClient(char* const, int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client((char* const)"localhost", 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:65:77: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_fails_on_bad_rc()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:81:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:81:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp: In function 'int test_subscribe_qos_1()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:49:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:49:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:65:16: error: 'sleep' was not declared in this scope
sleep(1);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp: In function 'int test_keepalive_pings_with_inbound_qos0()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:89:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:89:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:97:16: error: 'sleep' was not declared in this scope
sleep(1);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp: In function 'int test_keepalive_no_pings_inbound_qos1()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:122:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:122:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp: In function 'int test_publish()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:22:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp: In function 'int test_subscribe_not_connected()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:70:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:70:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_accepts_username_password()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:97:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:97:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp: In function 'int test_subscribe_invalid_qos()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:88:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:88:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:98:78: error: no matching function for call to 'PubSubClient::connect(char*, char*, char*)'
int rc = client.connect((char*)"client_test1",(char*)"user",(char*)"pass");
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:98:78: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:110:9: note: bool PubSubClient::connect(String)
bool connect(String id);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:110:9: note: candidate expects 1 argument, 3 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:122:9: note: bool PubSubClient::connect(String, String, uint8_t, bool, String)
bool connect(String id, String willTopic, uint8_t willQos, bool willRetain, String willMessage);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:122:9: note: candidate expects 5 arguments, 3 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:184:9: note: bool PubSubClient::connect(MQTT::Connect&)
bool connect(MQTT::Connect &conn);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:184:9: note: candidate expects 1 argument, 3 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp: In function 'int test_unsubscribe()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:110:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:110:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_accepts_username_no_password()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:115:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:115:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:22:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:132:16: error: 'sleep' was not declared in this scope
sleep(1);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:116:69: error: no matching function for call to 'PubSubClient::connect(char*, char*, char)'
int rc = client.connect((char*)"client_test1",(char*)"user",'\0');
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:116:69: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp: In function 'int test_publish_bytes()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:49:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp: In function 'int test_unsubscribe_not_connected()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:131:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:110:9: note: bool PubSubClient::connect(String)
bool connect(String id);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:110:9: note: candidate expects 1 argument, 3 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:131:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:122:9: note: bool PubSubClient::connect(String, String, uint8_t, bool, String)
bool connect(String id, String willTopic, uint8_t willQos, bool willRetain, String willMessage);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:122:9: note: candidate expects 5 arguments, 3 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:184:9: note: bool PubSubClient::connect(MQTT::Connect&)
bool connect(MQTT::Connect &conn);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:184:9: note: candidate expects 1 argument, 3 provided
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/subscribe_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp: In function 'int test_keepalive_disconnects_hung()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:150:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:150:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_ignores_password_no_username()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:133:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:49:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:133:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp: In function 'int test_publish_retained()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:76:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/keepalive_spec.cpp:158:16: error: 'sleep' was not declared in this scope
sleep(1);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:134:69: error: no matching function for call to 'PubSubClient::connect(char*, char, char*)'
int rc = client.connect((char*)"client_test1",'\0',(char*)"pass");
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:134:69: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:76:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:110:9: note: bool PubSubClient::connect(String)
bool connect(String id);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:110:9: note: candidate expects 1 argument, 3 provided
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:122:9: note: bool PubSubClient::connect(String, String, uint8_t, bool, String)
bool connect(String id, String willTopic, uint8_t willQos, bool willRetain, String willMessage);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:122:9: note: candidate expects 5 arguments, 3 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:184:9: note: bool PubSubClient::connect(MQTT::Connect&)
bool connect(MQTT::Connect &conn);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:184:9: note: candidate expects 1 argument, 3 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_with_will()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:151:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp: In function 'int test_publish_not_connected()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:95:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:151:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:95:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_with_will_username_password()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:169:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:169:59: note: candidates are:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp: In function 'int test_publish_P()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:117:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:117:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/bits/istream.tcc: In member function 'std::streamsize std::basic_istream<_CharT, _Traits>::readsome(std::basic_istream<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:252:18: error: expected unqualified-id before '(' token
#define min(a,b) ((a)<(b)?(a):(b))
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:170:126: error: no matching function for call to 'PubSubClient::connect(char*, char*, char*, char*, int, int, char*)'
int rc = client.connect((char*)"client_test1",(char*)"user",(char*)"password",(char*)"willTopic",1,0,(char*)"willMessage");
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:170:126: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:110:9: note: bool PubSubClient::connect(String)
bool connect(String id);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:110:9: note: candidate expects 1 argument, 7 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:122:9: note: bool PubSubClient::connect(String, String, uint8_t, bool, String)
bool connect(String id, String willTopic, uint8_t willQos, bool willRetain, String willMessage);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:122:9: note: candidate expects 5 arguments, 7 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:184:9: note: bool PubSubClient::connect(MQTT::Connect&)
bool connect(MQTT::Connect &conn);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:184:9: note: candidate expects 1 argument, 7 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:124:61: error: invalid conversion from 'byte* {aka unsigned char*}' to 'const char*' [-fpermissive]
rc = client.publish_P((char*)"topic",payload,length,true);
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/publish_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:162:9: error: initializing argument 2 of 'bool PubSubClient::publish_P(String, const char*, uint32_t, bool)' [-fpermissive]
bool publish_P(String topic, PGM_P payload, uint32_t plength, bool retained = false);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp: In function 'int test_connect_disconnect_connect()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:190:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:190:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/connect_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
Makefile:236: recipe for target '/tmp/ogMainArduino/ogMainArduino_generic/subscribe_spec.cpp.o' failed
make: *** [/tmp/ogMainArduino/ogMainArduino_generic/subscribe_spec.cpp.o] Error 1
make: *** Waiting for unfinished jobs....
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp: In function 'int test_receive_callback()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:39:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:39:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp: In function 'int test_receive_stream()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:64:12: error: cannot declare variable 'stream' to be of abstract type 'Stream'
Stream stream;
^
In file included from /usr/local/src/esp8266-arduino/cores/esp8266/HardwareSerial.h:31:0,
from /usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:245,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:15,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:
/usr/local/src/esp8266-arduino/cores/esp8266/Stream.h:38:7: note: because the following virtual functions are pure within 'Stream':
class Stream: public Print {
^
In file included from /usr/local/src/esp8266-arduino/cores/esp8266/Stream.h:26:0,
from /usr/local/src/esp8266-arduino/cores/esp8266/HardwareSerial.h:31,
from /usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:245,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:15,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:
/usr/local/src/esp8266-arduino/cores/esp8266/Print.h:55:24: note: virtual size_t Print::write(uint8_t)
virtual size_t write(uint8_t) = 0;
^
In file included from /usr/local/src/esp8266-arduino/cores/esp8266/HardwareSerial.h:31:0,
from /usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:245,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:15,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:
/usr/local/src/esp8266-arduino/cores/esp8266/Stream.h:47:21: note: virtual int Stream::available()
virtual int available() = 0;
^
/usr/local/src/esp8266-arduino/cores/esp8266/Stream.h:48:21: note: virtual int Stream::read()
virtual int read() = 0;
^
/usr/local/src/esp8266-arduino/cores/esp8266/Stream.h:49:21: note: virtual int Stream::peek()
virtual int peek() = 0;
^
/usr/local/src/esp8266-arduino/cores/esp8266/Stream.h:50:22: note: virtual void Stream::flush()
virtual void flush() = 0;
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:65:12: error: 'class Stream' has no member named 'expect'
stream.expect((uint8_t*)"payload",7);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:73:67: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&, Stream&)'
PubSubClient client(server, 1883, callback, shimClient, stream);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:73:67: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 5 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 5 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 5 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 5 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 5 provided
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:4:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:88:21: error: 'class Stream' has no member named 'error'
IS_FALSE(stream.error());
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/lib/BDDTest.h:9:62: note: in definition of macro 'TEST'
#define TEST(x) { if (!bddtest_test(__FILE__, __LINE__, #x, (x))) return false; }
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:88:5: note: in expansion of macro 'IS_FALSE'
IS_FALSE(stream.error());
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp: In function 'int test_receive_max_sized_message()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:104:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:104:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:108:19: error: 'MQTT_MAX_PACKET_SIZE' was not declared in this scope
byte length = MQTT_MAX_PACKET_SIZE;
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp: In function 'int test_receive_oversized_message()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:140:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
Makefile:236: recipe for target '/tmp/ogMainArduino/ogMainArduino_generic/keepalive_spec.cpp.o' failed
make: *** [/tmp/ogMainArduino/ogMainArduino_generic/keepalive_spec.cpp.o] Error 1
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:140:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:144:19: error: 'MQTT_MAX_PACKET_SIZE' was not declared in this scope
byte length = MQTT_MAX_PACKET_SIZE+1;
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp: In function 'int test_receive_oversized_stream_message()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:167:12: error: cannot declare variable 'stream' to be of abstract type 'Stream'
Stream stream;
^
In file included from /usr/local/src/esp8266-arduino/cores/esp8266/HardwareSerial.h:31:0,
from /usr/local/src/esp8266-arduino/cores/esp8266/Arduino.h:245,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:15,
from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:
/usr/local/src/esp8266-arduino/cores/esp8266/Stream.h:38:7: note: since type 'Stream' has pure virtual functions
class Stream: public Print {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:175:67: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&, Stream&)'
PubSubClient client(server, 1883, callback, shimClient, stream);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:175:67: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 5 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 5 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 5 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 5 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 5 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:179:19: error: 'MQTT_MAX_PACKET_SIZE' was not declared in this scope
byte length = MQTT_MAX_PACKET_SIZE+1;
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:188:12: error: 'class Stream' has no member named 'expect'
stream.expect(bigPublish+9,length-9);
^
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:4:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:198:21: error: 'class Stream' has no member named 'error'
IS_FALSE(stream.error());
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/lib/BDDTest.h:9:62: note: in definition of macro 'TEST'
#define TEST(x) { if (!bddtest_test(__FILE__, __LINE__, #x, (x))) return false; }
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:198:5: note: in expansion of macro 'IS_FALSE'
IS_FALSE(stream.error());
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp: In function 'int test_receive_qos1()':
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:214:59: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), ShimClient&)'
PubSubClient client(server, 1883, callback, shimClient);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:214:59: note: candidates are:
In file included from /usr/local/src/esp8266-arduino/libraries/pubsubclient/tests/src/receive_spec.cpp:1:0:
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: PubSubClient::PubSubClient(Client&, String, uint16_t)
PubSubClient(Client& c, String hostname, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:89:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: PubSubClient::PubSubClient(Client&, IPAddress&, uint16_t)
PubSubClient(Client& c, IPAddress &ip, uint16_t port = 1883);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:87:4: note: candidate expects 3 arguments, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: PubSubClient::PubSubClient(Client&)
PubSubClient(Client& c);
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:84:4: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(const PubSubClient&)
class PubSubClient {
^
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: PubSubClient::PubSubClient(PubSubClient&&)
/usr/local/src/esp8266-arduino/libraries/pubsubclient/src/PubSubClient.h:20:7: note: candidate expects 1 argument, 4 provided
Makefile:236: recipe for target '/tmp/ogMainArduino/ogMainArduino_generic/publish_spec.cpp.o' failed
make: *** [/tmp/ogMainArduino/ogMainArduino_generic/publish_spec.cpp.o] Error 1
Makefile:236: recipe for target '/tmp/ogMainArduino/ogMainArduino_generic/connect_spec.cpp.o' failed
make: *** [/tmp/ogMainArduino/ogMainArduino_generic/connect_spec.cpp.o] Error 1
Makefile:236: recipe for target '/tmp/ogMainArduino/ogMainArduino_generic/receive_spec.cpp.o' failed
make: *** [/tmp/ogMainArduino/ogMainArduino_generic/receive_spec.cpp.o] Error 1
root@1eede81c43bf:/usr/local/src/og/OpenGarage#