Skip to content

C++-style comments in the test programs #14588

@icculus

Description

@icculus

Hit this on a pull request that compiled fine locally:

Image

Can we enable this warning universally in the CMake files, so we catch these failures before pushing?

Or better: can we remove this requirement from the test programs? Since SDL3 itself doesn't have this requirement, it seems silly to have it on the test programs that are only built in the same project file. If someone wants to paste the test code into their own programs, they can trivially fix it to be ANSI C, if they still need that.

(same deal for variables declared in the middle of a scope, honestly.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions