Skip to content

5.36.0 and VS2022 compile errors #20426

@rosshgit

Description

@rosshgit

Module: Core from source

Errors in compiling with 5.36.0 in MS VS 2022.

In 32bit mode (WIN64= undef).

One of the compiling steps shows:

..\util.c(2624): error C2059: syntax error: 'do'
..\util.c(2624): error C2059: syntax error: 'while'
..\util.c(2625): error C2371: 'Perl_safesysfree': redefinition; different basic types
..\util.c(358): note: see declaration of 'Perl_safesysfree'
..\util.c(2626): error C2059: syntax error: '}'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x86\cl.EXE"' : return code '0x2'

Sorry - too many ifdef's in this area for me to work out the error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions