Re: [scc-dev] Struct initialization with union

From: Roberto E. Vargas Caballero <k0ga_at_shike2.net>
Date: Fri, 25 Apr 2025 10:37:01 +0200

Hi,

On Thu, Apr 24, 2025 at 11:55:40PM +0200, Xavier Del Campo Romero wrote:
> Hi,
>
> scc (commit d0ec99aa) fails to compile the following minimalistic example:

I have pushed a slightly different fix, and I updated the test to check that
it actually initializes the first field (I put a char in the union that in
case of being initialized could not return 0 (not very realistic as usually
processes get memory zeroed, but it is a best attempt). Thank you!

Kind Regards,
Roberto Vargas
--
To unsubscribe send a mail to scc-dev+unsubscribe_at_simple-cc.org
Received on Fri 25 Apr 2025 - 10:37:01 CEST

This archive was generated by hypermail 2.3.0 : Fri 25 Apr 2025 - 10:40:02 CEST