Subj : Re: Too many warning messages To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Sat Dec 20 2003 04:03 pm > Is there anyway to clean this stuff up? Yes. Move all code that is not inline code to a source file. .. Ed > Rob C. wrote in message > news:3fe4a14a$1@newsgroups.borland.com... > > These are only warnings, they don’t hurt anything, although they > clutter up the screen and make me think I’m not programming > correctly - like my code is sloppy and not tight like it should > be. > //------------------------------------------------- > Warning: Public symbol 'MYFUNCS::savescreen(int,int,int, > int,char*)' defined in both module SANFBA.CPP and SANTA.CPP > Warning: Public symbol 'MYFUNCS::writescreen(char*)' > defined in both module SANFBA.CPP and SANTA.CPP > Warning: Public symbol 'MYFUNCS::color(int,int,char*)' > defined in both module SANFBA.CPP and SANTA.CPP > //------------------------------------------------- > There’s screenfull after screenfull of these ‘Public symbol’ > messages. What it is, I have written a number of my own > functions that I have put in a class called “MYFUNCS,” and I > #include<> MYFUNCS (mywinfuncs.h) and instantiate MYFUNCS > myfuncs in all my modules. I had this same problem in my > previous compiler, “PowerC for DOS,” although there the messages > were called “Duplicate Symbol” or something like that, and of > course they weren’t all grouped in a class but instead were in a > precompiled module that was linked in with all the other > modules. > > Is there anyway to clean this stuff up? .