emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS: face-cache


From: Eli Zaretskii
Subject: Re: MPS: face-cache
Date: Mon, 29 Apr 2024 18:37:40 +0300

> Date: Mon, 29 Apr 2024 18:32:02 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org
> 
> > They changed the definition of gnu17 between GCC 10 and 11, compare:
> > https://gcc.gnu.org/onlinedocs/gcc-10.5.0/gcc/Mixed-Declarations.html
> > https://gcc.gnu.org/onlinedocs/gcc-11.4.0/gcc/Mixed-Labels-and-Declarations.html
> 
> I trust the compiler more than I trust the documentation:
> 
>   cpp -dM nul | fgrep STDC
>   #define __STDC_HOSTED__ 1
>   #define __STDC_UTF_16__ 1
>   #define __STDC_VERSION__ 201710L  <<<<<<<<<<<<<<<<<<<<<<
>   #define __GNUC_STDC_INLINE__ 1
>   #define __STDC_UTF_32__ 1
>   #define __STDC__ 1
> 
> Doesn't that mean the default is c17?
> 
> In any case, the GCC Info manual I have, which is for GCC 9.2.0, says:
> 
>      'gnu17'
>      'gnu18'
>           GNU dialect of ISO C17.  This is the default for C code.

Of course, if the meaning of gnu17 was changed, all of the above
doesn't matter anyway.  And we in Emacs are nowhere near those late
standards anyway, because we still support very old versions of GCC.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]