Subject: | byterun.c compiler error |
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST
RICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.07\" -DXS_VERSION=
\"0.07\" "-IC:\usr\local\perl\510\lib\CORE" byterun.c
byterun.c
byterun.c(627) : error C2143: syntax error : missing ';' before 'type'
byterun.c(629) : error C2065: 'arg' : undeclared identifier
Apparently the compiler turns on "strict C" mode, and doesn't allow constructions like on line 627:
{
PerlIO_printf(...)
short arg;
with variable declaration in the middle of a block. There are more instances of same problem, lines 810, 1216 etc
RICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.07\" -DXS_VERSION=
\"0.07\" "-IC:\usr\local\perl\510\lib\CORE" byterun.c
byterun.c
byterun.c(627) : error C2143: syntax error : missing ';' before 'type'
byterun.c(629) : error C2065: 'arg' : undeclared identifier
Apparently the compiler turns on "strict C" mode, and doesn't allow constructions like on line 627:
{
PerlIO_printf(...)
short arg;
with variable declaration in the middle of a block. There are more instances of same problem, lines 810, 1216 etc