Skip to content

Does not compile with GCC 15’s new default -std=c23 (error: ‘bool’ cannot be defined via ‘typedef’) #393

@flying-sheep

Description

@flying-sheep
c-blosc/blosc/shuffle.c:26:15: error: ‘bool’ cannot be defined via ‘typedef’
   26 | typedef _Bool bool;
      |               ^~~~
c-blosc/blosc/shuffle.c:26:15: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
c-blosc/blosc/shuffle.c:26:1: warning: useless type name in empty declaration
   26 | typedef _Bool bool;
      | ^~~~~~~

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