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

Re: [perl #112536] Setting -g3 is not trivial

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
April 24, 2012 02:22
Subject:
Re: [perl #112536] Setting -g3 is not trivial
Message ID:
20120424092208.GJ9069@plum.flirble.org
On Mon, Apr 23, 2012 at 01:39:49PM +0200, Leon Timmermans wrote:
> On Sun, Apr 22, 2012 at 12:05 PM, H.Merijn Brand <h.m.brand@xs4all.nl> wrote:
> > I never thought of additional digits when allowing that. I could extend
> > the current behavior to do so if p5p thinks that is sane.
> 
> If you do that, don't forget to allow -ggdb3 and similar too too.

Seems sane to me. At least, I can't think of anything it might be confused
with.

Is there a "list" of "similar too"? Or do we assume that anything
/^-g[a-z0-9][-+a-z0-9]*$/ is valid?

(ie is there a counter-example of a compiler flag starting -g that isn't
about debugging, and would be confusing to add here)

Nicholas Clark

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