* 4MLA1FN:
i'm somewhat of a c++ newbie. i'm linking some static libraries into
my app. it turns out that two of the libraries (from different
suppliers) share a class name; e.g. they both have a class named
'SomeClass'. the compiler/linker is complaining. is there an easy
way deal with this so my app can link?
No, not as far as I know, sorry.
But you can pursue solutions outside the language.
For example, in Windows you can isolate the usage of one of the classes
to a dynamically linked library.
Or, for example, you can check whether the same functionality is
available from some higher quality libraries, which you should probably
do anyway -- using low-quality libraries will yield more and more
problems, and can force you to use less than good design.
A quality C++ library will use a namespace to greatly reduce the chance
of name collisions, so that's one thing to look for.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?