"Variable length array in structure won't be supported" build failure(s)
clang 13.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.3885+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 | 2.2.6-4 | )capture.c:324:9: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
rng-tools-debian | 2.3 | 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-3 | dcam_juju_capture.c:286:12: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
| Log |
|
5 errors