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

[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




reply via email to

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