DragonFly BSD
DragonFly bugs List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: errno bug and gcc internal error

From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 19 Jul 2005 21:25:08 +0200
Mail-followup-to: bugs@crater.dragonflybsd.org

On Wed, Jul 20, 2005 at 12:51:36AM +0900, YONETANI Tomokazu wrote:
> Hello.
> 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.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]