nanogui: Re: ARM, C++ and -mstructure-size-boundary=8
Subject:
FW: ARM, C++ and -mstructure-size-boundary=8
From:
Fabrice Gautier ####@####.####
Date:
24 Sep 2002 18:52:54 -0000
Message-Id: <B1F6452C89AFD411AE0800A0CC734C239DBD37@EMAIL1>
[resend to good address, thanks alex]
Hi,
When linking a C++ program to microwindows, we found out that the size of
the MWPALENTRY structure was 4 bytes in the C++ routines and 3 bytes in
Microwindows code (in C).
I also noticed that microwindows was compiled, for the ARM targets, with
-mstructure-boundary-size=8. I didnt compile the C++ program with this
option, but I removed it from the microwindows source code and now the
sizeof(MWPALENTRY) is always 4.
I noticed in the changelog that this gcc option was supposed to fix a bug,
can someone tell me more about this ?
Thanks
--
Fabrice Gautier,
####@####.####