"Variable length array in structure won't be supported" build failure(s)
clang 3.5.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.4.4-2 | netlink.c:632:10: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
cuba | 3.0+20111124-2 | ./src/vegas/Integrate.c:17:15: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
libdc1394-22 | 2.2.2-3 | control.c:286:19: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
libnetfilter-conntrack | 1.0.4-1 | api.c:959:8: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
libqb | 0.17.0-2 | check_ipc.c:185:9: 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 |
|
picolisp | 3.1.7.3-1 | main.c:711:34: 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.4-0.1 | seccure.c:689:12: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
unscd | 0.51-1 | nscd.c:2441:9: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
10 errors