From: Bernhard H. <ber...@be...> - 2001-09-28 09:30:50
|
> typedef char * ptr_t; > > char * xdata * p; > ptr_t xdata * q; > > volatile char c; > > foo () { > c=**p; > c=**q; // error: pointer required > } I've a very similiar problem here, it should have been my next bug report :-) > Without the "xdata" everthing is fine. Is this allowed? Why not? IAR and Keil compile it without error or warning and the expected result. Bernhard |