develooper Front page | perl.perl5.porters | Postings from July 2005

[perl #2744] [BUG] perlcc bugs (about seven or eight of them)

From:
Michael G Schwern via RT
Date:
July 23, 2005 01:04
Subject:
[perl #2744] [BUG] perlcc bugs (about seven or eight of them)
Message ID:
rt-3.0.11-2744-118183.14.5114545623253@perl.org
> [tchrist@chthon.perl.com - Tue Mar 28 03:39:04 2000]:
> 
> % cat bad
> #!/usr/bin/perl
> 
> sub fn {
>     local $key = "I am the key!";
>     print "Have: $key\n";
> }
> 
> fn();
> % perl bad
> Have: I am the key!
> 
> % perlcc bad
> 
>
--------------------------------------------------------------------------------
> Compiling bad:
>
--------------------------------------------------------------------------------
> 
> ERROR: 'bad' does not have a proper extension!

This silly behavior appears to have been fixed.  5.6.2 and 5.8.6 both
take "perlcc bad" fine.

I can also compile the program.  5.6.2 and 5.8.0 compile with no
problem.  5.8.6 warns:

0 windhund ~/tmp$ perlcc bad
pccM2diy.c: In function `perl_init_aaaa':
pccM2diy.c:1205: warning: this decimal constant is unsigned only in ISO C90

bleadperl is downright boisterous.  Its output is attached.  I'm leaving
this ticket open because of all the warnings.



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