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.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel