'register' storage class specifier deprecated in C++17

Issue #544 new
Puya Daravi created an issue

Compilation fails with clang 10 and std flag set to c++17, giving the following error message while compiling `md5.cpp`:

error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register uint32_t a, b, c, d;

See more details about it in this stackoverflow answer. Basically the register keyword needs to be removed.

Comments (1)

  1. Log in to comment