[Live-devel] Warning fix in the DelayQueue.hh file on MacOS 26

Eric Beuque eric.beuque at seek-one.fr
Mon Mar 9 06:24:39 PDT 2026


Yes sorry, i mistake the correct definition is :

#ifdef __APPLE__
typedef __darwin_suseconds_t time_base_useconds;
#else
typedef time_base_seconds time_base_useconds;
#endif

Actually, before my toolchain was using a toolchain on MacOS 11 BigSur and
i got no warning. I recently updated to MacOSX 26 Tahoe, and the warning
appears.
This warning appear when building with : Apple clang version 17.0.0
(clang-1700.6.4.2)

But i don't have the warning when building livemedia, but when i build my
application using livemedia through inclusion of
BasicUsageEnvironment/BasicUsageEnvironment.hh.
The main issue is that it generates some warnings in my CI at compilation
step.

I fixed it locally, but it could be nice to have a fix directly included in
a future release.

Eric BEUQUE - Software architect / developer

T. 03 81 51 90 99 | www.seek-one.fr

6B rue Christiaan Huyguens 25000 BESANCON



Le lun. 9 mars 2026 à 13:51, Ross Finlayson <finlayson at live555.com> a
écrit :

> It’s apparently a bit more complicated than that, because on my (MacOS)
> system at least, I get no warning when I build DelayQueue.o.  (Also,I think
> you meant #ifndef rather than #ifdef :-)
>
> Fixing this is low priority, because the useconds value is always
> <1000000, so there will never be any overflow if it’s stored in a (32-bit)
> int.
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20260309/5a26274a/attachment.htm>


More information about the live-devel mailing list