Skip to content

win32: error C2099: initializer is not a constant #89

@petrutlucian94

Description

@petrutlucian94

setproctitle 1.2 cannot be compiled on Windows using Visual Studio: http://paste.openstack.org/raw/800723/

We're getting this error: src/spt_setup.c(454): error C2099: initializer is not a constant

I think one option would be to get VS to use a newer C or C++ standard. The alternative would be to change this specific initialization.

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