develooper Front page | perl.perl5.porters | Postings from December 2012

Re: Should I remove 'register' declarations in /ext and /dist code?

Thread Previous | Thread Next
From:
Craig A. Berry
Date:
December 15, 2012 23:59
Subject:
Re: Should I remove 'register' declarations in /ext and /dist code?
Message ID:
CA+vYcVwPdOq_OkjuTOzcz28MbCpNc5N+_ABh9iAJma3EvpokgQ@mail.gmail.com
On Sat, Nov 24, 2012 at 11:32 PM, Karl Williamson
<public@khwilliamson.com> wrote:
> On 11/19/2012 06:24 PM, Karl Williamson wrote:

>> Some of us routinely compile with C++, so I think that tilts the scales
>> to doing those removals.
>
>
> Now done in commit 5aaab254c02795622bdf42e348ad8473aa1fc643
> This also removes recently added declarations, since the original commit
> several months ago.

Note that there are a couple of instances of register on the various
try.c programs in Configure, so if you're worried that C++11 will do
us in anytime soon, those will probably need to be removed as well.

$ grep register Configure
	register int i;
	register unsigned long tmp;
	register unsigned long max = 0L;

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About