mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 06:19:28 +02:00
The sources of the Free Pascal compiler, RTL, packages and utilities.
See https://www.freepascal.org/ for more info.
![]() Report a warning if a unit is used from an indirectly used package. We are doing this only for the units used in contained units though as in the "contains" section there can't be such units anyway (and just checking all loaded units would lead to false positives). pkgutil.pas: + new procedure check_for_indirect_package_usages() which walks a TLinkedList of used units and warns on every unit that is from an indirectly imported package pmodules.pas, proc_package: * when checking all loaded units whether they are from a package or not also check for indirect package usages using the new procedure ........ pkgutil.pas, exportprocsym: * use a temporary variable for the procdef * restructure the if-expression a bit to make it better readable ........ pmodules.pas, finish_unit: * also release the generated proc symbol if the init function isn't needed ........ pkgutil.pas, add_package_libs: * fix exit condition (on Linux it probably worked by accident :/ ) ........ git-svn-id: trunk@33518 - |
||
---|---|---|
compiler | ||
ide | ||
installer | ||
packages | ||
rtl | ||
tests | ||
utils | ||
.gitattributes | ||
.gitignore | ||
fpmake_add1.inc | ||
fpmake_proc1.inc | ||
fpmake.pp | ||
Makefile | ||
Makefile.fpc |