Hi, I'm writing some C++ code just to simulate the COF with AVRStudio and see if the virtual tables, etc are working good. It seems to be Ok in the simulations. The problem is that I'm getting the following two warnings with the WinAVR:
"main_.cc:50: warning: alignment of 'T0::_ZTV2T0' is greater than maximum object file alignment. Using 1"
"main_.cc:86: warning: alignment of 'T1::_ZTV2T1' is greater than maximum object file alignment. Using 1"
I'm attaching the entire program (a single file). It does not do anyhing usefull, it's just to test the C++ compiler. The command line I'm using is:
"avr-gcc.exe -gstabs -Os -mmcu=atmega8 -c -pipe -Wall -Iinc -Wno-non-virtual-dtor -fno-exceptions -std=gnu++98 main_.cc"
Does anybody know if I can create a real program still having this warning or if it's an important one?
Thanks in advance,