"Variable length array in structure won't be supported" build failure(s)
clang 10.0.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 |
ipmctl | 02.00.00.3759+ds-1 | lnx_adapter_passthrough.c:192:5: fatal error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
libdc1394-22 | 2.2.5-2.1 | [34] [35] [36]capture.c:324:9: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
looking-glass | 0+b1-4 | rsa.c:105:13: fatal error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
rng-tools-debian | 2.1 | rngd_linux.c:189:17: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
rng-tools5 | 5-4 | rngd_linux.c:126:17: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
unicap | 0.9.12+repack20150328.0.git2c600ae-2 | dcam_juju_capture.c:286:12: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
unscd | 0.53-1 | nscd.c:2448:9: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
7 errors