[Ada] Improve error message for .ali file version mismatch
authorSteve Baird <baird@adacore.com>
Thu, 5 Aug 2021 18:18:19 +0000 (11:18 -0700)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 1 Oct 2021 06:13:35 +0000 (06:13 +0000)
commitcafd1c1a71325c0e9dc6a6862fdd5dcd7248fbb6
treef0203672827883297d935d8ed3a63ccac61c0711
parent8e35980ff82ad5a00de3237ad94c1fe942fb0ba4
[Ada] Improve error message for .ali file version mismatch

gcc/ada/

* bcheck.adb (Check_Versions): In the case of an ali file
version mismatch, if distinct integer values can be extracted
from the two version strings then include those values in the
generated error message.
gcc/ada/bcheck.adb