Skip to content

SDL_blit_N.c: duplicate 'const' declaration warning #5401

@Wohlstand

Description

@Wohlstand

Hello!

At the recent version of the code, I found the weird use of const static const struct .... which caused the compiler warning.

SDL_blit_N.c, line 131;

const static const struct SDL_PixelFormat default_pixel_format = {

Do you want to write the static const struct SDL_PixelFormat default_pixel_format or const static struct SDL_PixelFormat default_pixel_format?

P.S. https://stackoverflow.com/questions/12005959/static-const-vs-const-static 🤔

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