[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [HEAD/1.0] Commit: fix for bug #9669
From: |
Joerg Wunsch |
Subject: |
[avr-libc-dev] [HEAD/1.0] Commit: fix for bug #9669 |
Date: |
Thu, 22 Jul 2004 00:00:09 +0200 |
User-agent: |
Mutt/1.4.2.1i |
I just fixed the FAQ entry explaining the use of ROM tables.
Since people (including the originator of the entry :) occasionally
stumble across it, I also mentioned the special case where the index
into a ROM table is compile-time constant, so the compiler would
optimize the access, thereby hiding the bug that the pointer should be
extracted from ROM using memcpy_P(). (Usually, people use that fixed
index case as a proof-of-concept test, and then later crash when
trying to make it based on a variable.)
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
faq.diff
Description: Text document
- [avr-libc-dev] [HEAD/1.0] Commit: fix for bug #9669,
Joerg Wunsch <=