bug-gnulib
[Top][All Lists]
Advanced

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

Re: Support FALLTHROUGH macro better in glibc+clang


From: Paul Eggert
Subject: Re: Support FALLTHROUGH macro better in glibc+clang
Date: Sat, 25 Mar 2023 14:29:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 2023-03-25 14:24, Paul Eggert wrote:
    # if __GNUC_PREREQ (7,0) || __glibc_has_attribute (__fallthrough__)

Come to think of it this could be simplified further, to just:

  # if __glibc_has_attribute (__fallthrough__)

since GCC started supporting __has_attribute in GCC 5.



reply via email to

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