When building with gcc > 6 there are some issues with istream and the boolean operator. You are comparing the stream with an integer, instead use the bool operator.
Patch file is attached.
Log in to post a comment.