[unixODBC-dev] Re: Symbol name collision between unixODBC and driver
Marc.Herbert at emicnetworks.com
Thu Nov 3 13:23:54 GMT 2005
Stephen Compall <s11 at member.fsf.org> writes:
> The latter arg is a string containing the name of the function, which is
> the same for each driver.
I can understand it's much easier to have the same symbols from one
driver to the other; that does not imply that this driver names have
to be the same as driver manager names.
> Designing a new driver protocol, you could require DRIVER_NAME " " to be
> prefixed to each function name, but that is not necessary, because the
> unambiguity is resolved by the dlhandle and eager lookup for static
Granted, code clarity is of little interest to compilers and linkers :-)
More information about the unixODBC-dev