Merge pull request #6355 from myfreeweb/clang6-warning Add -Wno-register to calm down clang 6.0.0 (C++17 mode)