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

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

Re: [avr-gcc-list] How to use pgmspace.h in a library source without war


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] How to use pgmspace.h in a library source without warning?
Date: Sun, 9 Jun 2013 20:41:40 +0200 (MET DST)

Georg-Johann Lay <address@hidden> wrote:

> That's not a good approach.  Reading avr/io.h, the solution reads
> 
> #define __COMPILING_AVR_LIBC__

Yes, we introduced that in order to be able to compile the standard
library itself.

It hasn't been documented since we then had to also document the
actual things that are allowed using this pragma.  So, it's an "if you
know what you're doing, you can use it" item.
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

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



reply via email to

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