I have code which uses __no_init in many places. I have defined in pre-defined macro
__no_init=__attribute__((noinit)).
In code __no_init is used to declare a variable like below in many places.
static volatile __no_init ABS_ ReadInfo;
As per MSP430 Optimizing c/c++ compiler doc
The syntax of the GCC attributes is:
int x __attribute__((noinit));
As per doc attributes should be after variable. But in code i have before variable..
It doesn't give me any warnings/errors.
I want to know whether it is correct to use attribute befor variable name ?
Else i want to change all places in my code...
 
				 
		 
					 
                          