Hello,

Currently I cannot verify but have you used the latest version of SDCC? If
so please file it as a bug in the tracker system.

I also recommend to try:

xdata PBYTE xptr;

Greets,
Maarten

> Hi,
>
> Code in main.c :
>
> typedef  unsigned char * PBYTE;
>
> int main()
> {
> PBYTE xdata xptr;
>
>   return 0;
> }
>
> Use 'sdcc main.c' to compile. SDCC reports "error 1: syntax error,
> declaration  ignored  at 'xptr'".
>
> But if use "unsigned char * xdata xptr" to declare xptr, it is right!
>
> Thanks
>
> wbma


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to