Sujet : Re: encapsulating directory operations
De : mutazilah (at) *nospam* gmail.com (Paul Edwards)
Groupes : comp.lang.cDate : 30. May 2025, 09:18:43
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <101bpl8$d1n8$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Microsoft Outlook Express 6.00.2800.1106
"Scott Lurndal" <
scott@slp53.sl.home> wrote in message
news:Qb4_P.377135$vvyf.313049@fx18.iad...Richard Heathfield <rjh@cpax.org.uk> writes:
I shudder to think how much C90 code is out there, but it has to
be /at least/ in the region of 10^9 LOC, much of it in the
military arena, medical applications, and particularly the world
of comms. Letting C90 compilers fall off the radar (e.g. by
society forgetting how to program in it) really could be a
stupendously bad idea, for all the reasons that people overlook
when they shrug and say `I expect it'll all turn out fine'.
>
And all the existing C compilers in the entire planet support
the C90 dialect[*], if so instructed. Where is the problem?
>
[*] Well, except perhap Bart's and various hobby compilers.
And also except the most important, or second most
important, compiler on the planet.
(The competition for first place being IBM's C compiler for z/OS)
C:\Program Files\Microsoft Visual Studio\2022\Professional>cl /?
Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34123 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
...
-LANGUAGE-
/std:<c++14|c++17|c++20|c++latest> C++ standard version
c++14 - ISO/IEC 14882:2014 (default)
c++17 - ISO/IEC 14882:2017
c++20 - ISO/IEC 14882:2020
c++latest - latest draft standard (feature set subject to change)
/std:<c11|c17|clatest> C standard version
c11 - ISO/IEC 9899:2011
c17 - ISO/IEC 9899:2018
clatest - latest draft standard (feature set subject to change)