# translate-c: Flexible array members must be the last field in a struct · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/bdf5739c0a982d24a722b625a660a15bef617ce9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: bdf5739c0a982d24a722b625a660a15bef617ce9

Requested commit: bdf5739c0a982d24a722b625a660a15bef617ce9

Commit: bdf5739c0a982d24a722b625a660a15bef617ce9

Tree: 8cb6588bc472c2351f9de2fa9f5c6a07c4db7136

Author: Evan Haas

Committer: Evan Haas

## Message

```
translate-c: Flexible array members must be the last field in a struct

Previously any zero-length or incomplete array within a struct was treated
as a flexible array member.

```

## Parents

- [340a45683ca8e0b23e95f5fb86bd9c827970e6e8](https://git.cafe/gitcafe/zig/commit/340a45683ca8e0b23e95f5fb86bd9c827970e6e8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/bdf5739c0a982d24a722b625a660a15bef617ce9?format=markdown)
