Hello everybody,
in an example project with VC6.0
config.h
config.cpp
main.cpp
I am using some global variables in `config.h'.
If i won't declare them as `static' then the conpiler stops when compiling with
critical error; telling me something about undercleared/redeclared symbols in .obj files. I understand i have to declare them as static if i want it to compile but the thing is that in programs i have downloaded (src only from the net) other people does not declare those vars as static.
Is there a compiler switch or something for this?
in an example project with VC6.0
config.h
config.cpp
main.cpp
I am using some global variables in `config.h'.
If i won't declare them as `static' then the conpiler stops when compiling with
critical error; telling me something about undercleared/redeclared symbols in .obj files. I understand i have to declare them as static if i want it to compile but the thing is that in programs i have downloaded (src only from the net) other people does not declare those vars as static.
Is there a compiler switch or something for this?