ebertolazzi / mexIPOPT

MATLAB interface for IPOPT
108 stars 25 forks source link

Fix version detection for GCC 10 and above on Linux #12

Closed ebarnard closed 3 years ago

ebarnard commented 3 years ago

GCC 10 has a version number string of '10' which, due to only comparing the first letter of the version string, was hitting the case for GCC 1.

ebertolazzi commented 3 years ago

thanks for the fix