Skip to content

Julia embedding example cannot be compiled in 1.5.2 #37957

@uformia

Description

@uformia

On the 1.5.2 branch (or 1.5.1), the file src/atomics.h is missing a template keyword for jl_atomic_store_release , around line 269, making the file uncompilable (in VS2017). See

static inline void jl_atomic_store_relaxed(volatile T *obj, T2 val)
.

This is compiling the code at https://docs.julialang.org/en/v1/manual/embedding/#High-Level-Embedding-on-Windows-with-Visual-Studio .

This change is made in commit 2b510b4 on master, which appears to be working on a different feature, but that commit is not in 1.5.2 .

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