Summary: | libbsd 0.8.3 / Git HEAD: /usr/include/bsd/stdlib.h:52:27: error: unknown type name ‘u_char’ with -std=c89 | ||
---|---|---|---|
Product: | libbsd | Reporter: | Sebastian Pipping <webmaster> |
Component: | libbsd | Assignee: | Guillem Jover <guillem> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sebastian Pipping
2017-05-25 17:58:40 UTC
Update: * I was mis-reading that Debian bug report. They didn't patch it. * The bug needs -std=c89 to trigger, -std=gnu89 seems to work fine. It would be awesome if "u_char" could be patched into "unsigned char" for c89. Hmmm, indeed, it seems I had some of the changes around but those didn't end up on a release. :/ Thanks for reporting. I've fixed this now locally and will push for the next release 0.9.0. This should be fixed now in lbibsd 0.8.4. Closing. Seems to work well now, thank you! # gcc -std=c89 -Wall -Wextra -pedantic main.c # cat main.c #include <bsd/stdlib.h> int main() { return 0 ; } |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.