bug-gnulib
[Top][All Lists]
Advanced

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

Re: clang++ 11 compilation issues


From: Bruno Haible
Subject: Re: clang++ 11 compilation issues
Date: Thu, 14 Jan 2021 03:09:17 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; )

Paul Eggert wrote:
> How about the attached, more-conservative patch instead? It limits 
> __cpp_static_assert to controlling the use of 'static_assert', and 
> causes C++ code to not use _Static_assert at all.

This one looks good. I agree that most C++ compilers have or will have
'static_assert', therefore using the fact that some clang versions support
'_Static_assert' also in C++ mode is redundant.

Bruno




reply via email to

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