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

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

[avr-gcc-list] alignment of vtable is greater than maximum object file a


From: Ned Konz
Subject: [avr-gcc-list] alignment of vtable is greater than maximum object file alignment?
Date: Wed, 29 Mar 2006 13:39:10 -0800

I routinely get warnings like this when I compile classes with virtual functions (using avr-gcc 4.1.0):

avr-gcc -c -mmcu=atmega128 -I. -Wp,-M,-MP,-MT,qhsm_ini.o,-MF,.dep/ qhsm_ini.o.d -fno-exceptions -ggdb - DQ_SPY -I../../../../include - I../../../../ports/avr/qk/g++ -I../../../source -I. -Os -funsigned- char - funsigned-bitfields -fpack-struct -fshort-enums -Wall - Wa,-adhlns=./spy/qhsm_ini.lst ../../../source/ qhsm_ini.cpp -o spy/qhsm_ini.o

/Users/ned/src/quantumFrameworkCPP/qep/avr/qk/g++/../../../../include/ qep.h|258| warning: alignment of 'QHsm::vtable for QHsm' is greater than maximum object file alignment. Using 1

Is this a problem?

Is there some way to shut these up (other than post-processing the gcc output)?

Thanks,


--
Ned Konz
address@hidden






reply via email to

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