Skip to content

clang-cl ignores -Wpadded #61702

Closed
@cairnc

Description

@cairnc

On Windows this compiles with clang -Wpadded -Werror

typedef struct
{
    int x;
    char y;
} Foo;

int main()
{
    Foo foo;
}

Metadata

Metadata

Assignees

Labels

clang:frontendLanguage frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partygood first issuehttps://github.com/llvm/llvm-project/contributeplatform:windows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions