Skip to content

'aligned' attribute ignored when parsing type #11523

@xuzhongxing

Description

@xuzhongxing
Bugzilla Link 11151
Resolution DUPLICATE
Resolved on Oct 17, 2011 11:03
Version trunk
OS Linux
CC @efriedma-quic

Extended Description

When compiling the Linux kernel, I met the following error:

crypto/shash.c:68:56: error: 'aligned' attribute ignored when parsing type
return len + (mask & ~(alignof(u8 attribute ((aligned))) - 1));
^~~~~~~

GCC accepts it. It is necessary to make it an error, instead of a warning?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclangClang issues not falling into any other categoryduplicateResolved as duplicate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions