[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Data Array alignment
From: |
Trampas |
Subject: |
RE: [avr-gcc-list] Data Array alignment |
Date: |
Mon, 5 Jun 2006 11:10:43 -0400 |
I always create my own typedefs, I have been bitten before where a compiler
does things funny with variable types. For example is a char a signed or
unsigned value. Thus by defining my own typedefs I just eliminate all these
problems and make the code the easier to port.
Trampas
-----Original Message-----
From: Daniel O'Connor [mailto:address@hidden
Sent: Monday, June 05, 2006 8:35 AM
To: address@hidden
Cc: Trampas
Subject: Re: [avr-gcc-list] Data Array alignment
On Monday 05 June 2006 21:49, Trampas wrote:
> Please not the error and that
> UINT8 Data[BUFF_SIZE];
>
> Should be
> UINT8 Data[BUFF_SIZE+1];
Also you misspelt the standard uint8_t typedef.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
Re: [avr-gcc-list] Data Array alignment, Ned Konz, 2006/06/05
Re: [avr-gcc-list] Data Array alignment, Dmitry K., 2006/06/05