Title: Message
Hi all,
 
 
I live a problem with avr gcc: When i use a global variable in the header file and simultaneously initialize it to nonzero value in the declaration, then the use of this header file in multiple project source files as an include causes "multiple definition error" on this specific lines in the header file. Not initialized globals (by myself) and defines do not cause any error.  the whole header file content  is in a conditional define, in a regular manner, so  i dont understand what is going on. what is wrong?
 
Regards
 
 
Murat Karadeniz
http://www.onlinefavbar.com/mukas
 
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to