[zeromq-dev] Pull request - fix for undefined type uint
jricher
jricher at jricher.com
Wed Jul 2 01:06:22 CEST 2014
I got bit by an interesting bug while learning to use czmq and zeromq.
If you're compiling on linux with gcc -std=c99 /AND/
you are including czmq.h /after/ stdint.h /and/
you are not defining /_BSD_SOURCE before/ stdint.h,
uint is not properly defined, causing a build error in
zrex.h ...
This patch fixes that error. It also fixes the feature detect
code for Linux hosts.
The git pull request is: "Fix header inclusion order fix #540"
This bug has shown up a few times in the mailing lists, but until
now, there hasn't been a diagnosis or a general fix.
Jacques Richer (bl1vet)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140701/c974216a/attachment.htm>
More information about the zeromq-dev
mailing list