Skip to content

Packed attribute doesn't work if it's at the end of struct declaration #218

@tomba

Description

@tomba

This works:

struct __attribute__ ((packed)) foo
{
	char a;
	int b;
} ;

This doesn't:

struct bar
{
	char a;
	int b;
} __attribute__ ((packed));

Afaics, the packed attribute is totally missed if it's at the end of the declaration.

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