Skip to content

Set C standard to C11 #64

Description

@gruenich

The project does not define which C standard it uses. Reading the code, I think it follows C89 and is compatible with C23.

I suggest to define C11 as the minimal standard. It is widely supported and allows code to be better readable. The thing I miss most is declaring the variable in a for-loop ( for (int i = 0; i <n; i++)) instead of defining the variable at the beginning of the function.

If you agree, I can open a pull request setting the C standard.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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