[fpc-devel] Compiler warning when built with -dDEBUG_NODE_XML
Michael Van Canneyt
michael at freepascal.org
Sat Feb 17 11:05:52 CET 2024
On Wed, 14 Feb 2024, J. Gareth Moreton wrote:
> Hi everyone,
>
> After some recent updates to the trunk, the compiler no longer successfully
> builds when -dDEBUG_NODE_XML is specified:
>
> symsym.pas(2885,9) Warning: (treated as error) Case statement does not handle
> all possible cases
>
> This is located within "procedure TConstSym.XMLPrintConstData(var T: Text);",
> which outputs information on defined constants into the node dump. I assume
> this is because of commit fe62b3ace8c237d8bd1800beb5969e5cb540723f (Michael
> Van Canneyt's work) which introduces the "constwresourcestring" constant
> type, which isn't handled by the identified case block.
Sorry about that, I fixed it.
Michael.
More information about the fpc-devel
mailing list