Recommended Posts

I''ve got a small problem. I''ve got one library, lets call it library "a". Then i have a second one, lets call it library "b", now b links to a.
now when i wright a program that links to both b and a, the linker complains about redefinitions. They''re only warnings, but but going through 400 warnings every time i want to recompile gets annoying somtimes.
how do i get by this?

Share this post

Link to post

Share on other sites

lib a is my general general programming stuff. stuff thats not even specific to game programming, like containers, ascii parsers, etc. i wanna keep all that separte. lib b is my general game stuff. when i compile the proejct that uses both a and b, it complains about every global variable, every global function, every function of every class, and every static variables in all the classes.