Re: How to use pgmspace.h in a library source without warning?

[email protected] (Joerg Wunsch)
Newsgroups gmane.comp.hardware.avr.gcc
Organization Private BSD site, Dresden
Message-ID <[email protected]>
Georg-Johann Lay <[email protected]> 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. ;-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.