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

[blead@26185] breaks Perl_do_open

Thread Next
Stas Bekman
November 21, 2005 16:18
[blead@26185] breaks Perl_do_open
Message ID:
The latest blead @ 26185 breaks mod_perl2:

cc1: warnings being treated as errors
modperl_io.c: In function 'modperl_io_perlio_override_stdin':
modperl_io.c:124: warning: implicit declaration of function 'Perl_do_open'
make[1]: *** [modperl_io.lo] Error 1

In the code:

         /* open my $oldout, "<&STDIN" or die "Can't dup STDIN: $!"; */
         status = Perl_do_open(aTHX_ handle_save, "<&STDIN", 7, FALSE,
                               O_RDONLY, 0, Nullfp);

Stas Bekman
MailChannels: Assured Messaging(TM)
The "Practical mod_perl" book

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About