"Modern C" and the X.Org software
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Mar 24 20:58:56 UTC 2024
On 12/11/23 14:29, Alan Coopersmith wrote:
> I also added -std=gnu23 to my build flags, which found one more issue
> due to C23 defining "true" as an rvalue, not an lvalue:
>
> Fix C23 build by renaming variable 'true'
> https://gitlab.freedesktop.org/xorg/app/xprop/-/merge_requests/8
Further testing turned up a similar issue in xf86-video-vbox:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox/-/merge_requests/5
> While I'll probably merge all of the above MR's into git before the holidays,
> I don't plan to make any new releases including them until after, so that they
> can be released with the final release of autoconf 2.72 (which is planned for
> release sometime in the week of Dec. 18 - 22), which has both the fixes for
> bugs in autoconf tests caused by these flags and the addition of support for
> 64-bit time_t in 32-bit programs which some distros/packagers may desire.
I believe everything that was affected has had a release now (as of a few
minutes ago), so that distros should be able to update those packages before
they move to gcc 14.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - https://blogs.oracle.com/solaris
More information about the xorg-devel
mailing list