DPRG
DPRG List  



[DPRG] Pointers to values in Program Space in WINAVR

Subject: [DPRG] Pointers to values in Program Space in WINAVR
From: Chuck McManis cmcmanis at mcmanis.com
Date: Thu Sep 9 15:44:08 CDT 2004

Thats a compiler bug,

>temp = outstates[1];  // works
>i = 1;
>temp = outstates[i]; // does not work.

You don't show the declaration of i however I'm assuming its
         int     i;

Somewhere up above? If I were a float, or a long, this might be problematic.

--Chuck



More information about the DPRG mailing list