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
Craig A. Berry
December 15, 2012 23:59
Re: Should I remove 'register' declarations in /ext and /dist code?
Message ID:
On Sat, Nov 24, 2012 at 11:32 PM, Karl Williamson
<> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About