Ross,
Line 73 in DelayQueue.hh throws a warning when compiling for macosx.
include/DelayQueue.hh:73:41: Implicit conversion loses integer precision:
'time_base_seconds' (aka 'long') to '__darwin_suseconds_t' (aka 'int')
fTv.tv_usec = useconds;
tv_usec is of type __darwin_suseconds_t which is a typedef to __int32_t and
that is a typedef to int
I've temporarily surrounded it with but this may not be the cleanest fix:
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
Timeval(time_base_seconds seconds, time_base_seconds useconds) {
fTv.tv_sec = seconds; fTv.tv_usec = useconds;
}
#pragma GCC diagnostic pop
Thanks,
Tim
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel