[Icc-avr] Are 'local' vars in main automatuc or in bss?

Jaspers, Ton t.jaspers at cpseurope.com
Thu Oct 25 07:06:23 PDT 2007


 


________________________________

	From: Graham Whyte
	 
	You can make this very neat and tidy by putting the Globals in a
separate module
	Then create the external  declarations in a separate header file
which you can #include wherever you need
	You then only got one copy to worry about

Yuck!
Please download a copy of MISRA-C and study it carefully. 

Ton



More information about the Icc-avr mailing list