Re: [AD] ABI document update |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] ABI document update
- From: Chris <chris.kcat@xxxxxxxxxx>
- Date: Fri, 19 Aug 2005 13:54:05 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=WzkkF4CQEqKcp+HwbvsaiEpTLmJv+pjT1syXbceGXsaKJiuBeKvODYgAGwJc8lZpa09MY6pdOLYOLFKd8ZzT76EHwD2h0Zq7Uv8qCkDVOZaAhD3/oPQlpGq31s19vpVW1oQyb3PUzlUTzUKMRTiQsCgUJDaIDZZNXHN/ujstIUY=
> Isn't forward compatibility only a problem with C++ where adding a
> method may completely change classes' sizes and stuff like that? I
> don't think that's a problem for C.
C has the same problem with structs. If you add or remove members, the size of
the struct changes, as well as the offsets for anything after tha changed
part. Also, apparently the Windows DLL breaks when you add or remove global
symbols.