Skip to content

configure: fix comparing double-digit versions

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Performing this comparison using strings means that 10 is considered to be smaller than 3, which is not correct in this case. It results in spurious "compiler is too old" warnings. Since the values are already parsed into tuples, this does the comparison using all three values of the tuple instead of comparing them as x.y.z strings.

This patch fixes a warning not addressed in #21173. Refs #21175 (closed).

Merge request reports

Loading