yices2 icon indicating copy to clipboard operation
yices2 copied to clipboard

NO_ERROR enum intersects with windows header defines

Open nevilad opened this issue 4 years ago • 1 comments

yices_types.h contains:

typedef enum error_code {
  NO_ERROR = 0,

Windows winerror.h contains: #define NO_ERROR 0L // dderror

Building them together ends in compilation errors. Since they values are equal, as a workaround I commented out the definition in yices_types.h.

nevilad avatar Aug 26 '20 14:08 nevilad

Thanks for reporting this. We'll rename 'NO_ERROR' to something else in the next release.

BrunoDutertre avatar Aug 26 '20 23:08 BrunoDutertre