Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from ../inc/spark_wiring.h:29:0,
- from ../inc/application.h:29,
- from lelylan.cpp:2:
- ../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
- #warning "Defaulting to Release Build"
- ^
- lelylan.cpp:21:56: warning: "/*" within comment [-Wcomment]
- /* ------------ */
- ^
- lelylan.cpp:22:1: warning: "/*" within comment [-Wcomment]
- /* SKETCH LOGIC */
- ^
- In file included from lelylan.cpp:1:0:
- mqtt.h:42:4: error: 'TCPClient' does not name a type
- TCPClient* _client; // CH 14Jan2014 - changed Client* to TCPClient*
- ^
- mqtt.h:58:75: error: 'TCPClient' has not been declared
- PubSubClient(uint8_t *, uint16_t, void(*)(char*,uint8_t*,unsigned int),TCPClient& client); // CH 14Jan2014 - changed Client& to TCPClient&
- ^
- In file included from lelylan.cpp:1:0:
- mqtt.h:59:73: error: 'TCPClient' has not been declared
- PubSubClient(char *, uint16_t, void(*)(char *,uint8_t*,unsigned int),TCPClient& client); // CH 14Jan2014 - changed Client& to TCPClient&
- ^
- lelylan.cpp:31:54: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), TCPClient&)'
- char* payloadOn = "{\"properties\":[{\"id\":\"518be5a700045e1521000001\",\"value\":\"on\"}]}";
- ^
- lelylan.cpp:31:54: note: candidates are:
- In file included from lelylan.cpp:1:0:
- mqtt.h:59:4: note: PubSubClient::PubSubClient(char*, uint16_t, void (*)(char*, uint8_t*, unsigned int), int&)
- PubSubClient(char *, uint16_t, void(*)(char *,uint8_t*,unsigned int),TCPClient& client); // CH 14Jan2014 - changed Client& to TCPClient&
- ^
- mqtt.h:59:4: note: no known conversion for argument 4 from 'TCPClient' to 'int&'
- In file included from lelylan.cpp:1:0:
- mqtt.h:58:4: note: PubSubClient::PubSubClient(uint8_t*, uint16_t, void (*)(char*, uint8_t*, unsigned int), int&)
- PubSubClient(uint8_t *, uint16_t, void(*)(char*,uint8_t*,unsigned int),TCPClient& client); // CH 14Jan2014 - changed Client& to TCPClient&
- ^
- mqtt.h:58:4: note: no known conversion for argument 4 from 'TCPClient' to 'int&'
- mqtt.h:57:4: note: PubSubClient::PubSubClient()
- PubSubClient();
- ^
- mqtt.h:57:4: note: candidate expects 0 arguments, 4 provided
- mqtt.h:39:7: note: constexpr PubSubClient::PubSubClient(const PubSubClient&)
- class PubSubClient {
- ^
- mqtt.h:39:7: note: candidate expects 1 argument, 4 provided
- mqtt.h:39:7: note: constexpr PubSubClient::PubSubClient(PubSubClient&&)
- mqtt.h:39:7: note: candidate expects 1 argument, 4 provided
- lelylan.cpp: In function 'void loop()':
- lelylan.cpp:65:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- void loop() {
- ^
- lelylan.cpp:60:9: warning: unused variable 'value' [-Wunused-variable]
- pinMode(inPin, INPUT); // button pin setup
- ^
- lelylan.cpp: In function 'void lelylanPublish(char*)':
- lelylan.cpp:98:16: warning: comparison with string literal results in unspecified behaviour [-Waddress]
- lelylanSubscribe(); // topic subscription
- ^
- make: *** [lelylan.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement