Skip to content

./Include/cpython/pyatomic_std.h will not compile #116941

Closed

Description

@fuhsnn

Bug report

Bug description:

These two functions have unclosed return expression.

static inline uint32_t
_Py_atomic_load_uint32_acquire(const uint32_t *obj)
{
_Py_USING_STD;
return atomic_load_explicit((const _Atomic(uint32_t)*)obj,
}
static inline Py_ssize_t
_Py_atomic_load_ssize_acquire(const Py_ssize_t *obj)
{
_Py_USING_STD;
return atomic_load_explicit((const _Atomic(Py_ssize_t)*)obj,
}

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on Mar 18, 2024
  2. colesbury commented on Mar 18, 2024

    @colesbury
    Contributor
  3. self-assigned this
    on Mar 18, 2024
  4. colesbury commented on Mar 18, 2024

    @colesbury
    Contributor

    I will put up a PR to fix this. Thanks for the report @fuhsnn

  5. added 2 commits that reference this issue on Mar 18, 2024
  6. fuhsnn commented on Mar 19, 2024

    @fuhsnn
    ContributorAuthor

    Thanks!

  7. added a commit that references this issue on Mar 20, 2024
  8. added a commit that references this issue on Mar 25, 2024
  9. added a commit that references this issue on Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions