Sujet : Re: how to make a macro work as a single line if stmt without braces
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 24. Sep 2024, 20:30:38
Autres entêtes
Organisation : None to speak of
Message-ID : <87r098q275.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Gnus/5.13 (Gnus v5.13)
Bart <
bc@freeuk.com> writes:
On 24/09/2024 15:36, Tim Rentsch wrote:
Michael S <already5chosen@yahoo.com> writes:
The idea of changing the language to always require braces is
unnecessary and wasteful (besides being a non-starter for purely
practical reasons).
>
Well, practically it is not difficult.
Changing a compiler to require compound statements would not be
difficult. Changing the language in that way would be completely
impractical, because it would break existing code.
[...]
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */