Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.91k stars 543 forks source link

NOT OK [perl@13811 Win2K && MSVC60 not compiling] #4731

Closed p5pRT closed 20 years ago

p5pRT commented 22 years ago

Migrated from rt.perl.org#8100 (status was 'resolved')

Searchable as RT8100$

p5pRT commented 22 years ago

From abe@ztreet.demon.nl

Created by abe@ztreet.demon.nl

This is what I get during make​:

  cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERLDLL -DPERL_CORE -O1 -MD -DNDEBUG -Fo.\mini\win32io.obj win32io.c win32io.c win32io.c(53) : warning C4047​: 'function' : 'struct interpreter *' differs in levels of indirection from 'struct _PerlIO ** ' win32io.c(53) : warning C4024​: 'PerlIOBase_pushed' : different types for formal and actual parameter 1 win32io.c(53) : warning C4090​: 'function' : different 'const' qualifiers win32io.c(53) : warning C4024​: 'PerlIOBase_pushed' : different types for formal and actual parameter 2 win32io.c(53) : warning C4133​: 'function' : incompatible types - from 'struct sv *' to 'const char *' win32io.c(53) : error C2198​: 'PerlIOBase_pushed' : too few actual parameters win32io.c(72) : warning C4047​: 'function' : 'struct interpreter *' differs in levels of indirection from 'struct _PerlIO ** ' win32io.c(72) : warning C4024​: 'function through pointer' : different types for formal and actual parameter 1 win32io.c(72) : error C2198​: 'function through pointer' : too few actual parameters win32io.c(337) : warning C4113​: 'long (__cdecl *)(struct _PerlIO ** \,const char *\,struct sv *)' differs in parameter lists from 'long (__cdecl *)(struct interpreter *\,struct _PerlIO ** \,const char *\,struct sv *)' win32io.c(338) : warning C4113​: 'long (__cdecl *)(struct _PerlIO ** )' differs in parameter lists from 'long (__cdecl *)(struct interpreter *\,struct _PerlIO ** )' win32io.c(341) : warning C4113​: 'long (__cdecl *)(struct _PerlIO ** )' differs in parameter lists from 'long (__cdecl *)(struct interpreter *\,struct _PerlIO ** )' win32io.c(343) : warning C4113​: 'int (__cdecl *)(struct _PerlIO ** \,void *\,unsigned int )' differs in parameter lists from 'int (__cdecl *)(struct interpreter *\,struct _PerlIO ** \,void *\,unsigned int)' win32io.c(345) : warning C4113​: 'int (__cdecl *)(struct _PerlIO ** \,const void *\,unsigned int )' differs in parameter lists from 'int (__cdecl *)(struct interpreter *\,struct _PerlIO ** \,const void *\,unsigned int )' win32io.c(346) : warning C4113​: 'long (__cdecl *)(struct _PerlIO ** \,long \,int )' differs in parameter lists from 'long (__cdecl *)(struct interpreter *\,struct _PerlIO ** \,long \,int )' win32io.c(347) : warning C4113​: 'long (__cdecl *)(struct _PerlIO ** )' differs in parameter lists from 'long (__cdecl *)(struct interpreter *\,struct _PerlIO ** )' win32io.c(348) : warning C4113​: 'long (__cdecl *)(struct _PerlIO ** )' differs in parameter lists from 'long (__cdecl *)(struct interpreter *\,struct _PerlIO ** )' NMAKE : fatal error U1077​: 'cl' : return code '0x2' Stop.

Perl Info ``` Flags: category=install severity=medium Site configuration information for perl v5.7.2: Configured by a.timmerman at Sat Dec 15 02:26:14 2001. Summary of my perl5 (revision 5 undef) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -Gf -W3 -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX', optimize='-O1 -MD -DNDEBUG', cppflags='-DWIN32' ccversion='undef', gccversion='', gccosandvers='undef' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"c:\opt\perl572\lib\CORE" -machine:x86' libpth=\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs=undef libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl57.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"c:\opt\perl572\lib\CORE" -machine:x86' Locally applied patches: DEVEL13686 @INC for perl v5.7.2: c:/opt/perl572/lib c:/opt/perl572/site/lib . Environment for perl v5.7.2: HOME (unset) LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=c:\opt\perl572\bin;C:\PROGRA~1\MICROS~4\Common\msdev98\BIN;C:\PROGRA~1\MICROS~4\VC98\BIN;C:\PROGRA~1\MICROS~4\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~4\Common\TOOLS;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\WBEM;C:\Perl\bin\;C:\usr\bin\;C:\usr\bin;C:\bin;C:\usr\local\bin;c:\usr\local\openssl\bin;C:\gcc-2.95.2\bin;C:\PROGRA~1\ULTRAE~1;C:\Program Files\SecureCRT 3.0;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin PERLDOC_PAGER=less PERL_BADLANG (unset) SHELL (unset) -- Good luck, Abe Amsterdam Perl Mongers http://amsterdam.pm.org perl -Mstrict -wle 'sub Just{&$_}sub another{&$_}sub Perl{&$_}sub hacker{&$_}$_=sub{(split /::/,(caller $^W)[3])[-$^W].$"};print Just, another, Perl, hacker;' ```
p5pRT commented 22 years ago

From [Unknown Contact. See original ticket]

Abe Timmerman \abe@​ztreet\.demon\.nl writes​:

This is a bug report for perl from abe@​ztreet.demon.nl\, generated with the help of perlbug 1.33 running under perl v5.7.2.

----------------------------------------------------------------- [Please enter your report here]

This is what I get during make​:

   cl \-c \-nologo \-Gf \-W3 \-I\.\.\\lib\\CORE \-I\.\\include \-I\. \-I\.\. \-DWIN32

-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERLDLL -DPERL_CORE -O1 -MD -DNDEBUG -Fo.\mini\win32io.obj win32io.c win32io.c win32io.c(53) : warning C4047​: 'function' : 'struct interpreter *' differs in levels of indirection from 'struct _PerlIO ** '

My mistake - missed the :win32 layer in latest upgrade.

-- Nick Ing-Simmons http​://www.ni-s.u-net.com/