[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Data Array alignment
From: |
Galen Seitz |
Subject: |
Re: [avr-gcc-list] Data Array alignment |
Date: |
Mon, 05 Jun 2006 09:41:55 -0700 |
Trampas <address@hidden> wrote:
> 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.
uint8_t is part of the C99 standard. These data types were created in
order to avoid just the sort of problems you are describing. See stdint.h.
galen
Re: [avr-gcc-list] Data Array alignment, Ned Konz, 2006/06/05
Re: [avr-gcc-list] Data Array alignment, Dmitry K., 2006/06/05