| Deutsch English Français Italiano |
|
<vfit29$3obkb$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Vir Campestris <vir.campestris@invalid.invalid> Newsgroups: comp.lang.c Subject: Re: constexpr keyword is unnecessary Date: Sat, 26 Oct 2024 15:07:05 +0100 Organization: A noiseless patient Spider Lines: 13 Message-ID: <vfit29$3obkb$1@dont-email.me> References: <veb5fi$3ll7j$1@dont-email.me> <877ca5q84u.fsf@nosuchdomain.example.com> <vf0ijd$3u54q$1@dont-email.me> <vf0l98$3un4n$1@dont-email.me> <vf1216$p0c$1@dont-email.me> <87y12jpxvl.fsf@nosuchdomain.example.com> <vf1d2o$2hjk$1@dont-email.me> <87plnvpgb9.fsf@nosuchdomain.example.com> <vf2sm8$deou$1@dont-email.me> <vf7m4s$1d8mj$1@raubtier-asyl.eternal-september.org> <vf86uc$1fvt3$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 26 Oct 2024 16:07:05 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1a34abd57199070a12913a6a127db11a"; logging-data="3944075"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/o1vgbOEF+xXdRbYk7TZpUKdtoMH9p9A=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Lo90YW6+3/zbsmGLGMOGIHEIxCU= In-Reply-To: <vf86uc$1fvt3$1@dont-email.me> Content-Language: en-GB Bytes: 1940 On 22/10/2024 13:48, Thiago Adams wrote: > > I think a more generic feature would be to have a standard way of > promoting selected warnings to errors. This would avoid stacking > features with small differences, such as treating constexpr as a special > case compared to other constant expressions in C. I have in the past had coding standards that require you to fix all warnings. After all, sometimes they do matter. IIRC we had a compiler that had a "treat warnings as errors" parameter. Andy