Hi guys, am using
Atmel studio 7 (Version: 7.0.1006).
RM/GNU C Compiler
I am really confused with "extern" keyword.
I want to access same variables between files.
So i had to use extern.
The real issue is that, when I build the program, them compiler displays error "redefinition of 'variable' "
There are times the compiler builds the program without any errors & most of the time it ends up in error.
What could be causing this issue?
Am I missing out something?
It works occasionally, but not always.
extern int column1,column2;