Subject: | Syntax error in Validate.xs |
Perl: 5.8.7
OS: Win2K
Command: nmake
Output:
cp lib/Params/ValidatePP.pm blib\lib\Params\ValidatePP.pm
cp lib/Attribute/Params/Validate.pm
blib\lib\Attribute\Params\Validate.pm
cp lib/Params/Validate.pm blib\lib\Params\Validate.pm
cp lib/Params/ValidateXS.pm blib\lib\Params\ValidateXS.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap
C:\Perl\lib\ExtUtils\typemap Validate.xs > Validate.xsc &&
C:\Perl\bin\perl.exe -MExtUtils::Command -e mv Validate.xsc Validate.c
cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -
DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -
DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -
DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"0.81\" -
DXS_VERSION=\"0.81\" "-IC:\Perl\lib\CORE" Validate.c
Validate.c
Validate.xs(115) : warning C4101: 'str' : unreferenced local variable
Validate.xs(135) : error C2054: expected '(' to follow 'inline'
Validate.xs(136) : error C2085: 'no_validation' : not in formal
parameter list
Validate.xs(136) : error C2143: syntax error : missing ';' before '{'
Validate.xs(147) : error C2054: expected '(' to follow 'inline'
Validate.xs(149) : error C2085: 'typemask_to_string' : not in formal
parameter list
Validate.xs(149) : error C2143: syntax error : missing ';' before '{'
Validate.xs(201) : error C2054: expected '(' to follow 'inline'
Validate.xs(202) : error C2085: 'get_type' : not in formal parameter
list
Validate.xs(202) : error C2143: syntax error : missing ';' before '{'
Validate.xs(247) : error C2054: expected '(' to follow 'inline'
Validate.xs(252) : error C2085: 'article' : not in formal parameter
list
Validate.xs(252) : error C2143: syntax error : missing ';' before '{'
Validate.xs(376) : warning C4013: 'article' undefined; assuming extern
returning int
Validate.xs(376) : warning C4047: 'function' : 'const char *' differs
in levels of indirection from 'int '
Validate.xs(376) : warning C4024: 'Perl_sv_catpv' : different types
for formal and actual parameter 3
Validate.xs(380) : warning C4047: 'function' : 'const char *' differs
in levels of indirection from 'int '
Validate.xs(380) : warning C4024: 'Perl_sv_catpv' : different types
for formal and actual parameter 3
Validate.xs(454) : warning C4013: 'get_type' undefined; assuming
extern returning int
Validate.xs(464) : warning C4013: 'typemask_to_string' undefined;
assuming extern returning int
Validate.xs(464) : warning C4047: '=' : 'struct sv *' differs in
levels of indirection from 'int '
Validate.xs(465) : warning C4047: '=' : 'struct sv *' differs in
levels of indirection from 'int '
Validate.xs(466) : warning C4047: 'function' : 'const char *' differs
in levels of indirection from 'int '
Validate.xs(466) : warning C4024: 'Perl_sv_catpv' : different types
for formal and actual parameter 3
Validate.xs(1003) : warning C4013: 'no_validation' undefined; assuming
extern returning int