"Variable length array in structure won't be supported" build failure(s)
clang 3.0
The following code is
not (and won't) supported by clang.
int returnAnInt(void) {
return 42;
}
int main() {
struct {
char buf[returnAnIt()];
} r;
}
Package | Version | Supposed error message | Full log |
Bug report |
bird | 1.3.5-1 | netlink.c:628:10: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
ipxe | 1.0.0+git-2.149b50-1 | core/settings.c:289:8: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
libdc1394-22 | 2.1.3-4 | control.c:284:19: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
libnetfilter-conntrack | 0.9.1-1 | api.c:895:8: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
ndisc6 | 1.0.1-1 | trace-tcp.c:58:11: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
rng-tools | 2-unofficial-mt.14-1 | rngd_linux.c:191:17: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
seccure | 0.3-3 | seccure.c:665:12: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
unscd | 0.47-2 | nscd.c:2385:9: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
8 errors