Jump to content
PeterPanettone

Issues in Unit Dependency Analyzer

Recommended Posts

1. The Unit Dependency Analyzer lists both Classes and System.Classes:

 

image.png.5d2af98c04df8e6f97c86dca804028d2.pngimage.png.c20a0e8f266d6993e63b5fb3a68ae497.png  

 

Isn't there an option to suppress these multiple unit names which differ only by namespace? (The preference should be given to fully qualified namespace).

 

2. As you can see from the above screenshots, both are indicated as "no source found":

 

image.png.d1b71a01d220148db53a635ded68fa15.png

 

This is strange, as the source file is located here and should be found: c:\program files (x86)\embarcadero\studio\18.0\source\rtl\common\System.Classes.pas

 

MMX13 in Delphi 10.1 Berlin

 

Share this post


Link to post

BTW, in the Dependency Analyzer Settings, in the Compiler version dropdown menu there are only Win32 compiler versions listed:

 

image.thumb.png.f51f2808aed1345c0161ebf1e9e884a6.png

 

Why are there no Win64 compiler versions listed, as my project is for the Win64 platform?

Share this post


Link to post
1 hour ago, PeterPanettone said:

Why are there no Win64 compiler versions listed

Basically because there has been no need to implement it yet.

 

The compiler version merely sets the default conditional defines (like VER320) related to the compiler, but those can be extended by yourself in that same dialog. Also, only the uses clauses are parsed for dependencies, so most of the code is ignored anyway. 

 

What differences in the dependency results do you get with the plain Win32 compiler setting compared to Win64?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×