[Top][All Lists]

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

Re: [QUARANTINE] Re: [avr-gcc-list] C coding question

From: Joerg Wunsch
Subject: Re: [QUARANTINE] Re: [avr-gcc-list] C coding question
Date: Fri, 6 Oct 2006 22:57:21 +0200 (MET DST)

"Larry Barello" <address@hidden> wrote:

> There doesn't appear to be "stdbool.h" as part of WinAvr, ...

Of course, there is.

Common pitfall: the AVR-GCC installation ships with *two* (disjunct)
sets of header files.  One set is part of the GCC installation, and
things like <stdbool.h> belong to that group.  The other part belongs
to the library installation, and is installed into a different
directory.  Anyway, GCC looks into both directories to search for
system header files.  (It is assumed that the compiler and library
have an internal implied agreement to avoid name clashes, and to
"negotiate" who is going to implement which of the standard header
files.  This is transparent for the end user.)

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

reply via email to

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