ProgramMax / max

max is a tool belt for C++
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Unknown VC version when newer #109

Closed ProgramMax closed 5 years ago

ProgramMax commented 5 years ago

Describe the bug As new VC versions come out, max doesn't recognize them correctly. There should be a way to say "It is at least version X" (where X is the last-known version) and continue to compile assuming support for things that were supported in version X.

Instead, the last-known version uses == as a test and fails. The next older version uses >= and passes. So it assumes it is X-1.

To Reproduce Steps to reproduce the behavior:

  1. Grab a version of max that doesn't support the latest VC version.
  2. Compile.

Expected behavior max should work and build as expected with the latest known version. Maybe it should generate a compile-time warning.

Observed behavior max says it is the second-to-latest known version.

Platform (please complete the following information if applicable):

Additional context