niklasso / minisat

A minimalistic and high-performance SAT solver
minisat.se
Other
1.01k stars 382 forks source link

Fixing problems with compilation using C++11 compilers #24

Open msoos opened 9 years ago

msoos commented 9 years ago

The current PRIi64 system is missing a space when -std=c++11 is passed to GCC and the minisat header is #include-d -- in this case, the compiler fails. The 3 spaces fix this issue.

The proposed fix has been tested with a number of compilers and systems and seems to work fine (as it should, it's just 3 spaces).