Skip to content

variable length array in structure #11525

@xuzhongxing

Description

@xuzhongxing
Bugzilla Link 11153
Resolution DUPLICATE
Resolved on Oct 17, 2011 10:52
Version trunk
OS Linux
CC @efriedma-quic

Extended Description

Though this bug seems will not be fixed, I still report it to say that compiling Linux kernel need to fix it.

arch/x86/xen/mmu.c:1236:17: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
unsigned long mask[(((num_processors) + (8 * sizeof(long)) - 1) / (8 * sizeof(long)))];

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