[fpc-pascal] OpenSSL
Marcos Douglas
md at delfire.net
Tue Nov 17 15:31:47 CET 2015
On Tue, Nov 17, 2015 at 12:29 PM, Tomas Hajny <XHajT03 at hajny.biz> wrote:
>
> On Tue, November 17, 2015 15:24, Dmitry Boyarintsev wrote:
> > On Tue, Nov 17, 2015 at 9:19 AM, Michael Van Canneyt
> > <michael at freepascal.org
> >> wrote:
> >
> >> I fail to see how this will solve the problem that you want to use 2
> >> units
> >> with the same name at the same time, as for the OP.
> >>
> > I presume in this case the compiler would recognize that lnet code should
> > use "lnet/openssl.pas" instead.
> > Which should end up in a separate openssl??.o file that would be passed to
> > the linker.
> >
> > While both source files are named the same, two different object files
> > would be produced.
>
> How should the linker know which of the equally named symbols should be
> linked in out of those equally named object files then?
Some ideas
http://wiki.lazarus.freepascal.org/Namespaces#Mapping_Namespace_to_each_search_path
Marcos Douglas
More information about the fpc-pascal
mailing list