[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] alignment warning
From: |
Rolf Magnus |
Subject: |
Re: [avr-chat] alignment warning |
Date: |
Sat, 29 Jul 2006 11:22:10 +0200 |
User-agent: |
KMail/1.9.1 |
On Friday 28 July 2006 23:18, Steve Franks wrote:
> I have always ignored these:
>
> IPmcStream.h:32: warning: alignment of 'IPmcStream::_ZTV10IPmcStream'
> is greater than maximum object file alignment. Using 1
>
> In the past without problems. One day, it's going to burn me, no
> doubt. Anyone know what this is trying to tell me? I'm not playing
> with any alignement or __packed__ attirbutes, fyi.
I guess that member function is virtual? G++ always gives this warning for
every virtual member function. It must have something to do with the vtable.
Probably a bug in avr-g++. The warning should be harmless, since avr as an
8 bit architecture obviously doesn't have any alingment requirements.