Sujet : Re: Top 10 most common hard skills listed on resumes...
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.cDate : 30. Aug 2024, 19:37:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vat3nn$jqhg$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
User-Agent : Mozilla Thunderbird
On 8/30/24 13:36, Kaz Kylheku wrote:
On 2024-08-30, James Kuyper <jameskuyper@alumni.caltech.edu> wrote:
On 8/29/24 19:08, Ben Bacarisse wrote:
...
Actually I don't think I did. I said "reject" and a compiler that says
"this is not C" and then generates a executable is rejecting the code as
far as I am concerned.
>
How about a compiler that says: "Congratulations on using our extension
to C - program accepted"? Such a compiler could be fully conforming, and
I see no way to describe that as a rejection.
>
Woudln't it hava to correctly look for and process #error directives?
Certainly. I said that it could be fully conforming. It won't actually
be fully conforming unless it meets all of the other requirements of the
C standard. That means it must reject any program that contains a #error
directive that survives conditional compilation, but it's otherwise free
to accept any program, even if that program has syntax errors or
constraint violations, so long as it also generates the required
diagnostics.