Skip to content

Support no atomics Windows builds with meson #1043

Open
@satk0

Description

@satk0

Hello, first of all I am really thankful that you also maintain meson.build file.

I've recently tried to build radare2 with yours meson.build file on windows but it failed with this message:

Image

I think the issue is due to qjs ading /experimental:c11atomics flag even when msvc compiler is not supporting atomics, thus setting _STDC_NO_ATOMICS_ var to false.

'/experimental:c11atomics',

I think the way to fix this is to add with_atomics option to meson_options.txt and to omit the atomics when set to false. Wdyt?

I could take care of that and make a PR if only I got a green light from you ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions