Re: Check for runtime binary compatibility
- From: Arnaud Charlet <charlet ACT-Europe FR>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-devel-list gnome org
- Subject: Re: Check for runtime binary compatibility
- Date: Sat, 19 Aug 2000 16:51:36 +0200
> I am considering adding something like the below to GTK+. Should I put
> it inside #ifdef G_OS_WIN32, or is it good to check this on other
> platforms, too? (Do all the C (and C++) compilers for the same Unix
> platforms always implement the exact same struct field alignment and
> size allocation rules?) (32- vs 64-bit code issues are not relevant
> here, that is catched in the link phase, isn't it?)
Under unix, all compilers following the ABI won't have this problem.
The vendor C compiler and GCC should always follow the ABI.
Of course Win32 platforms are a different story ;-)
Arno
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]