Linker Warning : Public symbol '_X' defined in both module

Hi!

I'm using borland c++ builder 2006 and gets about 600 linker warnings :(
I having a program with like 7 forms used for different types calculations. One form is used as a menu where the user is able to choose which program hi/she would like to use. In many of the forms the variables has the same definiton due to consitancy when others in the future should be able to follow the source code(I also ran out of variable names). When i'm compiling i get e.g.[Linker Warning] Warning Public symbol '_X' defined in both module THIS.OBJ and THAT.OBJ". Some of the variabels is suppose to be global for all forms and then I've used 'extern' definition, but how to do with the rest, which i like to be global only in it's own form?

Thanks in advance
//Gugge
Topic archived. No new replies allowed.