[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf
Subject: Re: C23 support in Autoconf
From: Alan Coopersmith <alan.coopersmith () oracle ! com>
Date: 2024-05-02 16:53:16
Message-ID: 8fab8a24-04ad-4330-8e85-ae535b7b4172 () oracle ! com
[Download RAW message or body]
On 5/2/24 04:01, Florian Weimer wrote:
> * Alan Coopersmith:
>
> > https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox/-/commit/b66441a27fa85e2a3b63f10a0a5a846344327042
> >
>
> This change:
>
> #ifndef __cplusplus
> +#if __STDC_VERSION__ >= 199901L
> +#include <stdbool.h>
> +#else
> typedef enum
> {
> false = 0,
> true
> } bool;
> +#endif
> # define RT_C_DECLS_BEGIN
> # define RT_C_DECLS_END
> #else
> # define RT_C_DECLS_BEGIN extern "C" {
> # define RT_C_DECLS_END }
> #endif
>
> is not really ABI-compatible with the previous C version (although it
> restores ABI compatibility with the C++ version). Is this an installed
> header?
No, it's an internal header, only used in compiling this single shared object,
so no ABI compatibility with prior versions is required.
--
-Alan Coopersmith- alan.coopersmith@oracle.com
Oracle Solaris Engineering - https://blogs.oracle.com/solaris
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic