[Stk] Register keyword is deprecated

Ariel Elkin arielelkin at gmail.com
Sat Apr 5 13:00:05 PDT 2014


Hey all,

Several Stk classes such as BeeThree, FMVoices, HevyMetl, as well as Stk.cpp make use of the “register” storage class specifier. 

According to the latest C++ standard,  “the use of the register keyword as a storage-class-specifier (7.1.1) is deprecated” 
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3797.pdf
page 1242

Compilers such as LLVM v5.1 have picked up on this and are starting to complain heavily...

So anyone has an objection to getting rid of "register”? 

Cheers

Ariel



More information about the Stk mailing list