Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: "A diagram of C23 basic types"
Date: Mon, 07 Apr 2025 06:46:25 -0700
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <86h630dqz2.fsf@linuxsc.com>
References: <87y0wjaysg.fsf@gmail.com> <20250402232443.00003a7d@yahoo.com> <20250403164437.00002c5a@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Mon, 07 Apr 2025 15:46:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="58fc992bf3d49f6866b08a85a8ed3f48";
logging-data="4082776"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Kz6os9Rb7if5qCTiPdjSgo5pxzGpbJT8="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:twBkq+8C68Yg+CDU5GNioGJcZEw=
sha1:UN2Svvht7QMxMZEAUfZly6UckVI=
Bytes: 1998
Janis Papanagnou writes:
> On 03.04.2025 16:58, David Brown wrote:
>
>> [...]
>>
>> I know people can use pre-processor conditional compilation based on
>> __STDC_VERSION__ to complain if code is compiled with an unexpected or
>> unsupported standard, but few people outside of library header authors
>> actually do that. I'd really like :
>>
>> #pragma STDC VERSION C17
>>
>> to force the compiler to use the equivalent of "-std=c17
>> -pedantic-errors" in gcc.
>
> (I understand the wish to have that #pragma supported.)
It never will be, for reasons that are quite obvious.