On Wed, 10 Aug 2005 15:19:15 +0400, Alexey Tourbin <[EMAIL PROTECTED]> wrote:
> Hello, > > While building recent bleadperl snapshot: I knew. #25280 was causing that. I'm currently in extreme lack of time, so thanks for the patch, applied as change #25281 Can you also check for the `other' OS's please? embed.h:#define my_popen Perl_my_popen embed.h:#define my_popen_list Perl_my_popen_list embed.h:#define my_popen(a,b) Perl_my_popen(aTHX_ a,b) embed.h:#define my_popen_list(a,b,c) Perl_my_popen_list(aTHX_ a,b,c) makedef.pl: Perl_my_popen makedef.pl: Perl_my_popen makedef.pl: Perl_my_popen makedef.pl: Perl_my_popen proto.h:PERL_CALLCONV PerlIO* Perl_my_popen(pTHX_ const char* cmd, const char* mode); proto.h:PERL_CALLCONV PerlIO* Perl_my_popen_list(pTHX_ char* mode, int n, SV ** args); util.c:Perl_my_popen_list(pTHX_ char *mode, int n, SV **args) util.c:Perl_my_popen(pTHX_ char *cmd, char *mode) util.c:Perl_my_popen(pTHX_ char *cmd, char *mode) util.c:Perl_my_popen(pTHX_ char *cmd, char *mode) vms/vms.c:Perl_my_popen(pTHX_ const char *cmd, const char *mode) win32/win32.c:Perl_my_popen(pTHX_ char *cmd, char *mode) wince/wince.c:Perl_my_popen(pTHX_ char *cmd, char *mode) > $ ./Configure -ders -Dusedevel -Doptimize='-g' -Dusethreads -Duseithreads > && make && make test ... > `sh cflags "optimize='-g'" util.o` util.c > CCCMD = cc -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE > -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe > -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -Wall util.c:2127: error: > conflicting types for 'Perl_my_popen' proto.h:1078: error: previous > declaration of 'Perl_my_popen' was here util.c:2127: error: conflicting > types for 'Perl_my_popen' proto.h:1078: error: previous declaration of > 'Perl_my_popen' was here make: *** [util.o] Error 1 $ > > --- perl-5.9.3.25280/util.c- 2005-08-01 11:52:15 +0400 > +++ perl-5.9.3.25280/util.c 2005-08-10 14:53:08 +0400 > @@ -2123,7 +2123,7 @@ Perl_my_popen_list(pTHX_ char *mode, int > /* VMS' my_popen() is in VMS.c, same with OS/2. */ > #if (!defined(DOSISH) || defined(HAS_FORK) || defined(AMIGAOS)) > && !defined(VMS) && !defined(__OPEN_VM) && !defined(EPOC) > && !defined(MACOS_TRADITIONAL) PerlIO * -Perl_my_popen(pTHX_ char *cmd, > char *mode) +Perl_my_popen(pTHX_ const char *cmd, const char *mode) > { > int p[2]; > register I32 This, that; > End of patch -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using Perl 5.6.2, 5.8.0, 5.8.5, & 5.9.2 on HP-UX 10.20, 11.00 & 11.11, AIX 4.3 & 5.2, SuSE 9.2 & 9.3, and Cygwin. http://www.cmve.net/~merijn Smoking perl: http://www.test-smoke.org, perl QA: http://qa.perl.org reports to: [EMAIL PROTECTED], perl-qa@perl.org