How do i write a GCC compatible code for the beloe TI compiler code
static __no_init DWORD PRead;
func()
{
..
if( PRead != TMPAVAILABLE )
{
..
}
..
}
__no_init was giving the warning, so i modified to
static DWORD PRead __no_init;
where __no_init is defined in in430.h
Now its giving the below error.
Error:'PRead' undeclared (first use in this function)