There are some special cases where generic pointer are not needed at all.
For ex. cc2430 has all data areas mapped to sections of xdata. So everything can be accessed with xdata pointer.
But indeed, this is very processor specific.

I made a quick patch to the sdcc adding an option to make unqulified pointers xdata.

Cheers,
Peter

http://www.pkuhar.com/
http://www.modula.si
skype: pkuhar


On Wed, Feb 11, 2009 at 9:39 AM, Maarten Brock <sourceforge.brock@dse.nl> wrote:
Peter,

That is currently impossible because how would you
otherwise create a generic pointer? There is no
'generic' keyword.

Maarten

> Hi,
>
> How to make a default pointer type xdata pointer and not generic as it is
> currently.
>
>
> Cheers,
> Peter Kuhar
>
>
> http://www.pkuhar.com/
> skype: pkuhar
>



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user