I see no reason in using the register keyword. Currently compilers
ignore the register keyword, and basically it should be considered
noise when reading.


On Fri, Jun 28, 2013 at 11:37 AM, Sean McBride <[email protected]> wrote:
> 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                 [email protected]
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to