Skip to content

Commit

Permalink
do not check the bitness of a GAMS system if no GAMS system was found…
Browse files Browse the repository at this point in the history
… before in order to avoid misleading error messages
  • Loading branch information
ClemensGAMS committed Aug 2, 2019
1 parent 1180a0d commit d9c2e62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/support/distributionvalidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ void DistributionValidator::checkBitness()
QFileInfo joat64(gamsPath + '/' + "joatdclib64.dll");
bool is64 = (sizeof(void*) == 8);
QStringList messages;
if (gamsPath.isEmpty())
return; //we can check the bitness of GAMS if no GAMS was found
if (!is64 && joat64.exists())
messages << "GAMS Studio is 32 bit but 64 bit GAMS installation found. System directory:"
<< gamsPath;
Expand Down

0 comments on commit d9c2e62

Please sign in to comment.