M
Mapisto
Hi all,
I'm moving from gcc 3 to gcc 4, and I've got a redefinition error:
defs.h is a header file which contains a lot detentions and one of
them is "extern int my_var". main.c includes defs.h but also define
the var - "int my_var".
Is there an alternative beside to remove the extern to another h file?
Thanks in advance,
Mapisto.
I'm moving from gcc 3 to gcc 4, and I've got a redefinition error:
defs.h is a header file which contains a lot detentions and one of
them is "extern int my_var". main.c includes defs.h but also define
the var - "int my_var".
Is there an alternative beside to remove the extern to another h file?
Thanks in advance,
Mapisto.