On Sun, 23 May 2021, Gealber Morales via curl-library wrote:

mqtt.c:200:3: error: implicit declaration of function 'bzero'
[-Wimplicit-function-declaration]

 200 |   bzero(packet, packetlen);

You musn't use bzero() because it isn't portable enough. Use memset() instead and there won't be any problems.

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to