Fix some clang warnings. Add gcc 7&8 to CI tests.
See https://github.com/boostorg/regex/issues/61. Adds warning test case.