Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] 2.1.0rc3 available

c--- via mosquitto-dev <mosquitto-dev@xxxxxxxxxxx> writes:

> 2 problems are still unsolved but I don’t rate them critical:
> - mosquitto_ctrl build because of unresolved editline dependencies, will have to build with -D WITH_CTRL_SHELL=NO

can you not build WITH_EDITLINE=no, and get a mosquitto_ctrl that just
doesn't do line editing?  That works for me.

> - mosquitto_sub cannot use %f float formatting because __STDC_IEC_559__ is not defined (see below)

This is strange to me.  %f has been in printf since K&R 1st edition, I'm
pretty sure.   Can you point to standards and docs that explain this?

My usual plea, perhaps not spot on here: if some platform needs
visibility defines, then please limit defining them to that platform,
because in general visibility defines are also a request to hide
everything not required by that standard, and it ~always causes trouble.
Usually mostly-POSIX code needs extra defines only on platforms with
unusual decisions about hiding some things; the usual suspects are
illumos/etc. and Linux.


Back to the top