-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
makedev vs. sys/types.h warning #3857
Comments
configure.ac contains AC_HEADER_MAJOR.
This, as far as I understand, expands based on the contents of /usr/share/autoconf to some stuff in configure which checks if these three functions are available in <sys/types.h>, and if they are, this is getting used. Otherwise MAJOR_IN_SYSMACROS would get defined in config.h (which would be what we need), but this way it doesn't.
So if glibc will remove these from <sys/types.h> I guess we'll still be fine, we'd automatically locate them in <sys/sysmacros.h>.
Not sure if we can do anything reasonable about the warning (some nasty-nasty workaround, sure). I guess it should be fixed in autoconf.
Autoconf's newest version (2.69) is 5+ years old, ouch. |
http://git.savannah.gnu.org/cgit/gnulib.git/tree/m4/sys_types_h.m4 |
|
What about usage of gnulib module? |
Branch: 3857_mekedev |
|
|
|
Important
This issue was migrated from Trac:
egmont
(@egmontkob)Beginning with glibc-2.25, compilation gives these kinds of warnings:
There are a total of 10 of them, some with makedev(), some with major() or minor():
lib/vfs/parse_ls_vga.c:790 makedev()
src/filemanager/info.c:231 major() and minor()
src/filemanager/mountlist.c:751 makedev()
src/filemanager/panel.c:489-490 major() and minor()
src/vfs/cpio/cpio.c:741 and 748 makedev()
src/vfs/fish/fish.c:864 makedev()
src/vfs/tar/tar.c:429 makedev()
Note
Original attachments:
and
onJan 3, 2018 at 22:25 UTC
The text was updated successfully, but these errors were encountered: