[cmake-developers] clang now warns: 'register' storage class specifier is deprecated

Sean McBride sean at rogue-research.com
Fri Jun 28 11:37:21 EDT 2013


Hi all,

Recently in clang trunk, they added a new warning which we now see on Rogue7 since I updated my clang:

<http://open.cdash.org/viewBuildError.php?type=1&buildid=2949429>

CMake/Source/kwsys/RegularExpression.cxx:347:5: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
    register const char* scan;
    ^~~~~~~~~

I can make a patch to remove the 'register' keyword, if you will accept it.  Anyone have a philosophical objection?  If so, I will suppress the warning.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the cmake-developers mailing list