[zeromq-dev] Build fixes for Sun Studio and ICC

Martin Pales m.pales at gmail.com
Thu Oct 14 19:45:31 CEST 2010


>
> > 0002-Fix-build-for-ICC.patch
> >
> > Fixes the following build errors:
> >
> > epoll.cpp(141): error #68: integer conversion resulted in a change of
> sign
> >               timeout ? timeout : -1);
> >
> > poll.cpp(130): error #68: integer conversion resulted in a change of sign
> >           int rc = poll (&pollset [0], pollset.size (), timeout ? timeout
> : -1);
>
> Rather than casting to (int) all over the place, can't we change timeout to
> a signed type?
>
>
+1

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101014/69543841/attachment.htm>


More information about the zeromq-dev mailing list