Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the B-C CPAN distribution.

Report information
The Basics
Id: 53228
Status: resolved
Worked: 2 hours (120 min)
Priority: 0/
Queue: B-C

People
Owner: RURBAN [...] cpan.org
Requestors: KARASIK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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

Fixed various ansi strictness and MSWin32 MSVC issues with B-C-1.13
Thanks
--
Reini Urban