"john smith" <pr**************@charter.net> wrote in message
news:10*************@corp.supernews.com...
I have a quesion about how to deal with multiple symbols at link time.
I have a function name that must be a certain name and it is the same name
as in a custom library that I use.
I want to use my function and not the function in the custom library. So
how do I make sure that the linker will only see my function name and not
the other library one hence taking care of the multiple symbol name?
This may or may not be possible, depending on your compiler/platform.
You need to ask on a specific forum.
But why does your function need to have the exact same name?
The best solution will depend on what exactly you need to do.
For example, a solution might be to put your function in a namespace:
namespace MyCode { void f(); }
using MyCode::f;
hth,
Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Brainbench MVP for C++ <>
http://www.brainbench.com