avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [avr-gcc-list] Warnings with virtual methods in avr-g++


From: Haase Bjoern (PT-BEU/EMT)
Subject: AW: [avr-gcc-list] Warnings with virtual methods in avr-g++
Date: Tue, 27 Feb 2007 08:54:47 +0100

I expect that this error message stems from the assembler. Try to compile the 
sources with -S and I expect that you won't see this error.

I expect that the virtual tables are aligned on a 4-byte boundary (as usually 
is useful for 32 bit systems).

Bjoern.
 

-----Ursprüngliche Nachricht-----
Von: address@hidden [mailto:address@hidden Im Auftrag von Steve Franks
Gesendet: Montag, 26. Februar 2007 19:22
An: address@hidden
Betreff: [avr-gcc-list] Warnings with virtual methods in avr-g++

> Message: 1
> Date: Sun, 25 Feb 2007 19:16:11 +0100
> From: "Gervasio Varela" <address@hidden>
> Subject: [avr-gcc-list] Warnings with virtual methods in avr-g++
> To: address@hidden
> Message-ID:
>         <address@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello all,
>
> I'm getting an extrange warning in all classes that have virtual methods
> when compiling with AVR-G++ (version 3.4.6):
>
> aligment of 'x' is greater than maximum object file aligment
>
> ......

Sorry, that's a known issue.  Have it still in the latest 4.1.x build
on my unix.  I think the problem is due to the 8-bit nature of the
avr.  I have been getting it for several years, with no bugs traceable
to it, so it appears harmless.  There is no c++ maintainer for avr-g++
currently, so it should persist...

Eric/Joerg/et.al : seeing as I now have a functional freebsd system
and a current build of avr-g++, so I could potentially test & fix,
does anyone have a pointer (no pun intended) to where in the code one
might start looking for that 'bug'?

Steve


_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list




reply via email to

[Prev in Thread] Current Thread [Next in Thread]