This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: arm-rtems Ada Aligned_Word compilation error


On Nov 14, 2005, at 19:59, Jim Wilson wrote:
Joel Sherrill <joel@OARcorp.com> wrote:
s-auxdec.ads:286:13: alignment for "Aligned_Word" must be at least 4
Any ideas?

I'm guessing this is because ARM sets STRUCTURE_SIZE_BOUNDARY to 32 instead of 8, and this confuses the Ada front end.

Note that this package is provided only for the purpose of allowing a (non-standard) mode that extends the System package with certain DEC Ada extensions. Since this target cannot implement the required alignment anyway, I would recommend configuring things so this package doesn't get build on that target.


-Geert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]