Skip to content

error C2099: initializer is not a constant #6

@amiarSlimane

Description

@amiarSlimane

hello , when i tried to compile it, whith c "python setup.py install --with-c" using msvc 2017 on windows 10, i got this error ,

Cdistance / distance.c (647): error C2099: initializer is not a constant
Cdistance / distance.c (689): error C2099: initializer is not a constant
Cdistance / distance.c (762): warning C4090: 'function': different 'const' qualifiers
Error: command 'C: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ BuildTools \ VC \ Tools \ MSVC \ 14.10.25017 \ bin \ HostX64 \ x64 \ cl .exe 'failed with exit status 2

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions