bug-gnulib
[Top][All Lists]
Advanced

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

Re: _Noreturn.h not respecting __STDC_VERSION__ (macOS, clang 10)


From: Paul Eggert
Subject: Re: _Noreturn.h not respecting __STDC_VERSION__ (macOS, clang 10)
Date: Sat, 9 Jan 2021 14:21:27 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

On 1/8/21 8:31 PM, Joe Nelson wrote:
Hi, my project uses lib/_Noreturn.h, but gets a warning when compiled
with "-std=c99 -pedantic":

        warning: _Noreturn functions are a C11-specific feature

-pedantic can be such a pain sometimes, as can Clang. Thanks for reporting the problem, I guess. I installed the attached patch; please give it a try.

Attachment: 0001-snippet-_Noreturn-port-to-pedantic-clang.patch
Description: Text Data


reply via email to

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