On Tue, November 17, 2015 15:24, Dmitry Boyarintsev wrote: > On Tue, Nov 17, 2015 at 9:19 AM, Michael Van Canneyt > <mich...@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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal