From 1177ddc172197badceb51bfb11624f7b16a6bff1 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Tue, 19 Jul 2022 20:38:13 -0500 Subject: [PATCH] Tweak release notes. The "known issue" about not issuing required diagnostics is removed because ORCA/C has gotten significantly better about that, particularly if strict type checking is enabled. There are still probably some diagnostics that are missed, but it is no longer a big enough issue to be called out more prominently than other bugs. --- cc.notes | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cc.notes b/cc.notes index 328248c..ef4a7b2 100644 --- a/cc.notes +++ b/cc.notes @@ -79,10 +79,6 @@ Updated by Stephen Heumann and Kelvin Sherlock, 2017-2022 2.0.1 1. Bugs squashed. See bug notes, below. --- Known Issues ------------------------------------------------------------- - -1. ORCA/C fails to detect various error conditions for which the C standards require a diagnostic message to be issued. - -- Manual Errata ------------------------------------------------------------ p. 40 @@ -556,11 +552,11 @@ Compound literals can be used in code similarly to the identifier for a named va PaintRect(&(Rect){10,20,100,200}); -Outside of functions, compound literals can be used in initializers, as in the following declaration, which creates an unnamed array and initializes p to point to the first element of that array: +Compound literals can also be used in initializers, as in the following declaration, which creates an unnamed array and initializes p to point to the first element of it: int *p = (int[]){1,2,3}; -(This declaration could also be used within a function, but in that case the variable p and the unnamed array would have automatic storage duration.) +(This declaration could be used inside or outside of a function, with the compound literal having automatic or static storage duration, respectively.) Multi-Character Character Constants