[fpc-pascal] OpenSSL

Tomas Hajny XHajT03 at hajny.biz
Tue Nov 17 15:29:05 CET 2015


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?

Tomas





More information about the fpc-pascal mailing list