errno bug and gcc internal error
joerg at britannica.bec.de
Tue Jul 19 12:27:28 PDT 2005
On Wed, Jul 20, 2005 at 12:51:36AM +0900, YONETANI Tomokazu wrote:
> I don't remember when this started, but ld on -devel dumps core
> trying to link a .o file containing an errno declaration(djbdns for one):
I know about the ld problem, haven't had time to fix it though.
> But I wonder if someone has any idea how to let gcc say something like
> this instead:
> `bzzzt, your software declares errno as an extern int, which is incorrect.'
Actually, as long as the software includes errno.h as it should, it does
that. Well, it did that before Simon "fixed" it. Hacking special support
for errno into GCC is not the right thing IMO.
More information about the Bugs