[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[issues] glibc uses “__unused” as identifier, which is traditionally used by BSD as macro
- To: issues@xxxxxxxxxx
- Subject: [issues] glibc uses “__unused” as identifier, which is traditionally used by BSD as macro
- From: Thorsten Glaser <tg@xxxxxxxxx>
- Date: Wed, 6 May 2009 08:20:11 +0000 (UTC)
Hi,
I don’t know if ↓ applies to eglibc as well, but you might want
to fix that; seeing how Drepper treats the BSDs, he’s not likely
to preserve source level compatibility to software originating
at the BSDs.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522774
Note that the Linux headers have the same problem since recently,
whereas the BSDs have been using it “since forever”. The Debian
「libbsd」 package works around it by not defining 「__unused」
and patching the source code to not use it either, but I don’t
think that is the way to go. I have a personal package of mirmake,
the somewhat-portable version of MirBSD make(1), and would like to
continue to be able to build it and software with it on GNU/Linux
(and eventually GNU/k*BSD and GNU/HURD).
Sincerely,
//mirabilos
--
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence. -- Coywolf Qi Hunt