comparison doc/misc/whatsnew.html @ 21:1c9dac05d040

Add lint-style FALLTHROUGH annotations to fallthrough cases. (in the parse engine and thus the output code) Document this, because the old output causes warnings with gcc10.
author David A. Holland
date Mon, 13 Jun 2022 00:04:38 -0400
parents 13d2b8934445
children
comparison
equal deleted inserted replaced
20:bb115deb6fb2 21:1c9dac05d040
108 <P> 108 <P>
109 <B>Engine compiler error.</B> The <TT>error_message</TT> field of 109 <B>Engine compiler error.</B> The <TT>error_message</TT> field of
110 the PCB has been changed to <TT>const char *</TT> so current C++ 110 the PCB has been changed to <TT>const char *</TT> so current C++
111 compilers will accept the code generated when <I>diagnose errors</I> 111 compilers will accept the code generated when <I>diagnose errors</I>
112 is turned off. 112 is turned off.
113 </P>
114
115 <P>
116 <B>Engine compiler warnings.</B> The code generated by AnaGram
117 includes several <TT>switch</TT> cases that intentionally fall
118 through. These now include explicit <TT>FALLTHROUGH</TT> annotations
119 to satisfy current compilers.
113 </P> 120 </P>
114 121
115 <P> 122 <P>
116 <B>Multiple output header files.</B> Including more than one AnaGram 123 <B>Multiple output header files.</B> Including more than one AnaGram
117 output header file at once used to cause some compilers to issue a 124 output header file at once used to cause some compilers to issue a