You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some inspection of the actual containers being compared suggests that it's something to do with the casing of the filenames - everything in the gpr2 vector (from the compiler dir) has been lowercased, which isn't the case for the gpr1 vector. This has, naturally, messed with the sorting.
(C:\GNAT\24.1-x64 is the "true" path of the compiler)
The following is printing each element of the vectors in turn
On case-insensitive (but case-preserving) filesystems, e.g. Windows and standard macOS, GNAT treats the filesystems as case-insensitive, and when gprbuild sees this it smashes all file names to lower-case (improperly, but that’s another matter). You’d have thought it would do case-insensitive comparisons, but ...
You could try setting the environment variable GNAT_FILE_NAME_CASE_SENSITIVE to 1.
Some inspection of the actual containers being compared suggests that it's something to do with the casing of the filenames - everything in the gpr2 vector (from the compiler dir) has been lowercased, which isn't the case for the gpr1 vector. This has, naturally, messed with the sorting.
(
C:\GNAT\24.1-x64
is the "true" path of the compiler)The following is printing each element of the vectors in turn
I'm using:
The text was updated successfully, but these errors were encountered: