Greetings.
Building as per the subject results with VC6 in a large number of syntax
errors:
cl -ID:/builds/modperl-2.0/src/modules/perl -ID:/builds/modperl-
2.0/xs -ID:\Apache2/include -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 -
I"D:\bleedperl\lib\CORE" -DMOD_PERL -O1 -MD -DNDEBUG -c mod_perl.c &&
D:\bleedperl\bin\perl.exe -ID:\bleedperl\lib -ID:\bleedperl\lib -
MExtUtils::Command -e mv mod_perl.obj mod_perl.lo
mod_perl.c
D:\bleedperl\lib\CORE\win32.h(374) : error C2143: syntax error : missing ')'
before '*'
D:\bleedperl\lib\CORE\win32.h(374) : error C2143: syntax error : missing '{'
before '*'
D:\bleedperl\lib\CORE\win32.h(374) : error C2059: syntax error : ')'
D:\bleedperl\lib\CORE\win32.h(394) : error C2061: syntax error :
identifier 'Sighandler_t'
[...]
These can be cured by including config.h before win32.h, but the problem
then moves to perlio.h and then to perliol.h... The rather outlandish error
messages are generated by statements like:
typedef foo bar;
where foo is an unknown symbol (for instance in win32.h Signal_t is unknown,
as it is defined in config.h)
I am using the latest CVS snapshot of modperl.
As for bleedperl:
perl -V
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:"D:\bleedperl\lib\CORE" -machine:x86'
libpth=MSVCDir=C:\PROGRA~1\MICROS~4\VC98\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.libadvapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib
wsock32.libmpr.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:"D:\bleedperl\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
Built under MSWin32
Compiled at Apr 18 2002 15:34:08
@INC:
D:/bleedperl/lib
D:/bleedperl/site/lib
.
Cheers,
alf
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]