Hi,

 

Code in main.c :

int main()

{

unsigned int a1,b1;

  b1=0x1234;
  a1=*(unsigned int*)(b1);

 

  return 0;

}

 

Use ‘sdcc main.c’ to compile. SDCC reports “error 127: non-pointer type cast to generic pointer from type 'unsigned-int' to type 'unsigned-int generic *' ”. Is it a limitation or a bug?

 

Thanks

wbma