"Variable length array in structure won't be supported" build failure(s)
clang 9.0.1
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.3709+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 |
|
looking-glass | 0+b1-3 | 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 |
|
6 errors