Mercurial > ~dholland > hg > ag > index.cgi
diff 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 |
line wrap: on
line diff
--- a/doc/misc/whatsnew.html Mon Jun 13 00:02:15 2022 -0400 +++ b/doc/misc/whatsnew.html Mon Jun 13 00:04:38 2022 -0400 @@ -113,6 +113,13 @@ </P> <P> +<B>Engine compiler warnings.</B> The code generated by AnaGram +includes several <TT>switch</TT> cases that intentionally fall +through. These now include explicit <TT>FALLTHROUGH</TT> annotations +to satisfy current compilers. +</P> + +<P> <B>Multiple output header files.</B> Including more than one AnaGram output header file at once used to cause some compilers to issue a warning, because an <TT>#ifndef</TT> directive was checking the wrong