The register keyword is officially deprecated in C++11.

Clang 3.5.0 actually warns about this, GCC doesn't.  Using register
has apparently been dubious for some time:
http://stackoverflow.com/questions/20618008/register-keyword-c-11