hirotakaster / MQTT

MQTT for Photon, Spark Core
Other
216 stars 118 forks source link

initializing argument 4 of 'bool MQTT::publish(const char*, const uint8_t*, unsigned int, MQTT::EMQTT_QOS, bool, uint16_t*)' [-fpermissive] #45

Closed kenvernaillenvub closed 7 years ago

kenvernaillenvub commented 7 years ago

Veryfing code using this library in Particle Build fails with this error:


MQTT/MQTT.h:167:10: error:   initializing argument 4 of 'bool MQTT::publish(const char*, const uint8_t*, unsigned int, MQTT::EMQTT_QOS, bool, uint16_t*)' [-fpermissive]
     bool publish(const char *, const uint8_t *, unsigned int, EMQTT_QOS, bool, uint16_t *messageid = NULL)