Deutsch   English   Français   Italiano  
<vmuoh2$1sjgj$5@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.c
Subject: Re: Struct Error
Date: Fri, 24 Jan 2025 00:57:06 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <vmuoh2$1sjgj$5@dont-email.me>
References: <vmr5gg$137jo$1@dont-email.me> <vms4km$19srg$1@dont-email.me>
	<vmt74h$1jac0$1@dont-email.me> <vmukk4$1s5se$3@dont-email.me>
	<vmunc7$1snhv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 24 Jan 2025 01:57:06 +0100 (CET)
Injection-Info: dont-email.me; posting-host="5e8749a0a0548b054de09ccaf7b08075";
	logging-data="1986067"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18E6ct70rZHCUSyQn9H65H+"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:TsdeQYA535ZpnrppoAIxHBbDtks=
Bytes: 1257

On Fri, 24 Jan 2025 00:37:27 +0000, bart wrote:

> Yet childp is fine, but childa is a gcc compiler error. Why is that?

Because it needs to know the size of the type to work out the function 
type’s calling convention.