Skip to content

Liblouis 3.11.0 doesn't build with MSVC #838

@LeonarddeR

Description

@LeonarddeR

I tried to build liblouis 3.11 as part of NVDA< but got build errors. The same errors are shown when trying to build using the nmake script:

        cl /nologo /O2 /W3 /c /MD /Iinclude /D_EXPORTING /D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE ..\liblouis\lou_translateString.c
lou_translateString.c
..\liblouis\lou_translateString.c(2224): error C2057: expected constant expression
..\liblouis\lou_translateString.c(2224): error C2466: cannot allocate an array of constant size 0
..\liblouis\lou_translateString.c(2224): error C2133: 'dots': unknown size
..\liblouis\lou_translateString.c(2233): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX64\x64\cl.EXE"' : return code '0x2'
Stop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug in the code (not in a table)wontfixSomething that would not be an improvement or that is not worth or time

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions