[fpc-pascal] OpenSSL

Dmitry Boyarintsev skalogryz.lists at gmail.com
Tue Nov 17 14:25:26 CET 2015

On Tue, Nov 17, 2015 at 8:15 AM, Michael Van Canneyt <michael at freepascal.org
> wrote:

> Simply said: You can't. The lnet one needs to be renamed.
> One day when namespaces will be generally used, that should solve itself.
> (but then that is of course the same as renaming)

Why not make -Fu option be "package" specific instead?
In this case "lnet" would search for openssl.pas in its own directory
rather than packages/openssl ?

Since the compiler doesn't operate a "package"entity, make it based of the
directory structure.
(Due to nature of package sources, which typically reside in their own
For example:
 for any source in "./lnet" use "-Fu./"
 default  "-Fu./package/ssl"

It's sort of namespace based on the file names.

As a result no actual namespace, code changes or file renaming are needed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151117/07f856c5/attachment.html>

More information about the fpc-pascal mailing list