Hi, Imagine that we have two packages and each one has a global.pas unit like this:
BasePack /pkg basepack.lpk /src global.pas SmartPack /pkg smartpack.lpk /src global.pas Both packages have the same configuration: Other unit files (-Fu) = ../src But if SmartPack uses BasePack the compiler says that we have two versions of global.pas My question is: How can I put some units in a package but in a way that these units would be invisible in others packages? I thought that only units included in package would be visible outside (other programs/packages) but I realized that doesn't matter if were included or not, the visibility is defined only by path (-Fu). Best regards, Marcos Douglas -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus