Advertisement
Guest User

Untitled

a guest
Jan 1st, 2015
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. In file included from ../inc/spark_wiring.h:29:0,
  2. from ../inc/application.h:29,
  3. from lelylan.cpp:2:
  4. ../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
  5. #warning "Defaulting to Release Build"
  6. ^
  7. lelylan.cpp:21:56: warning: "/*" within comment [-Wcomment]
  8. /* ------------ */
  9. ^
  10. lelylan.cpp:22:1: warning: "/*" within comment [-Wcomment]
  11. /* SKETCH LOGIC */
  12. ^
  13. In file included from lelylan.cpp:1:0:
  14. mqtt.h:42:4: error: 'TCPClient' does not name a type
  15. TCPClient* _client; // CH 14Jan2014 - changed Client* to TCPClient*
  16. ^
  17. mqtt.h:58:75: error: 'TCPClient' has not been declared
  18. PubSubClient(uint8_t *, uint16_t, void(*)(char*,uint8_t*,unsigned int),TCPClient& client); // CH 14Jan2014 - changed Client& to TCPClient&
  19. ^
  20. In file included from lelylan.cpp:1:0:
  21. mqtt.h:59:73: error: 'TCPClient' has not been declared
  22. PubSubClient(char *, uint16_t, void(*)(char *,uint8_t*,unsigned int),TCPClient& client); // CH 14Jan2014 - changed Client& to TCPClient&
  23. ^
  24. lelylan.cpp:31:54: error: no matching function for call to 'PubSubClient::PubSubClient(byte [4], int, void (&)(char*, byte*, unsigned int), TCPClient&)'
  25. char* payloadOn = "{\"properties\":[{\"id\":\"518be5a700045e1521000001\",\"value\":\"on\"}]}";
  26. ^
  27. lelylan.cpp:31:54: note: candidates are:
  28. In file included from lelylan.cpp:1:0:
  29. mqtt.h:59:4: note: PubSubClient::PubSubClient(char*, uint16_t, void (*)(char*, uint8_t*, unsigned int), int&)
  30. PubSubClient(char *, uint16_t, void(*)(char *,uint8_t*,unsigned int),TCPClient& client); // CH 14Jan2014 - changed Client& to TCPClient&
  31. ^
  32. mqtt.h:59:4: note: no known conversion for argument 4 from 'TCPClient' to 'int&'
  33. In file included from lelylan.cpp:1:0:
  34. mqtt.h:58:4: note: PubSubClient::PubSubClient(uint8_t*, uint16_t, void (*)(char*, uint8_t*, unsigned int), int&)
  35. PubSubClient(uint8_t *, uint16_t, void(*)(char*,uint8_t*,unsigned int),TCPClient& client); // CH 14Jan2014 - changed Client& to TCPClient&
  36. ^
  37. mqtt.h:58:4: note: no known conversion for argument 4 from 'TCPClient' to 'int&'
  38. mqtt.h:57:4: note: PubSubClient::PubSubClient()
  39. PubSubClient();
  40. ^
  41. mqtt.h:57:4: note: candidate expects 0 arguments, 4 provided
  42. mqtt.h:39:7: note: constexpr PubSubClient::PubSubClient(const PubSubClient&)
  43. class PubSubClient {
  44. ^
  45. mqtt.h:39:7: note: candidate expects 1 argument, 4 provided
  46. mqtt.h:39:7: note: constexpr PubSubClient::PubSubClient(PubSubClient&&)
  47. mqtt.h:39:7: note: candidate expects 1 argument, 4 provided
  48. lelylan.cpp: In function 'void loop()':
  49. lelylan.cpp:65:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  50. void loop() {
  51. ^
  52. lelylan.cpp:60:9: warning: unused variable 'value' [-Wunused-variable]
  53. pinMode(inPin, INPUT); // button pin setup
  54. ^
  55. lelylan.cpp: In function 'void lelylanPublish(char*)':
  56. lelylan.cpp:98:16: warning: comparison with string literal results in unspecified behaviour [-Waddress]
  57. lelylanSubscribe(); // topic subscription
  58. ^
  59. make: *** [lelylan.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement