Bug 213541
Summary: | Build failure of libcap without -std=c99 mode | ||
---|---|---|---|
Product: | Tools | Reporter: | Andrew G. Morgan (morgan) |
Component: | libcap | Assignee: | Andrew G. Morgan (morgan) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | gandalf |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | n/a | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Andrew G. Morgan
2021-06-21 16:18:50 UTC
I can reproduce this with: make COPTS="-O2 -std=c89" all It also throws up some other warnings, so I'll address those as well. It looks like we did have this working at some point in the past: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=d45a3d4812598fc056499fa4622be4af58076bd5 (libcap-2.29) This is now fixed again as of this (will eventually be included in libcap-2.52): https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=06ec53d0c9fcddcc071a0e07731e6c83238400e6 |