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: Wed, 20 Jul 2005 15:03:23 +0200
Mail-followup-to: bugs@crater.dragonflybsd.org

On Wed, Jul 20, 2005 at 06:31:05AM +0200, Jeroen Ruigrok/asmodai wrote:
> >`bzzzt, your software declares errno as an extern int, which is incorrect.'
> 
> You can do
> 
> external int errno;
> 
> Just don't include errno.h.  But the behaviour of this is undefined.

It is well defined. Just don't link against *our* libc.

Joerg



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