This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/19239] Including stdlib.h ends up with macros major and minor being defined
- From: "ldv at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 23 Aug 2016 01:03:47 +0000
- Subject: [Bug libc/19239] Including stdlib.h ends up with macros major and minor being defined
- Auto-submitted: auto-generated
- References: <bug-19239-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19239
--- Comment #7 from Dmitry V. Levin <ldv at sourceware dot org> ---
Not really a glibc problem, but a direct consequence of commit
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=dbab6577c6684c62bd2521c1c29dc25c3cac966f
Autoconf macro AC_HEADER_MAJOR no longer works as expected, it fails to detect
that makedev from sys/types.h is deprecated:
checking whether sys/types.h defines makedev... yes
This leads to undefined MAJOR_IN_SYSMACROS, deprecation warnings, and,
consequently, build errors in projects that use -Werror.
--
You are receiving this mail because:
You are on the CC list for the bug.