In function 'int main(int, char**)':
/main.cpp:39:23: error: invalid conversion from 'const void*' to 'void*' [-fpermissive]
pubmsg.payload = PAYLOAD;
^
make: *** [main.o] Error 1
10:37:18: The process "/usr/bin/make" exited with code 2.
Error while building/deploying projecQt 5.7.0 GCC 64bit)
When executing step "Make"
******************************************************************************************
Please find the program at following location:
https://eclipse.org/paho/clients/c/
Regards,
Satyam