errno bug and gcc internal error

Joerg Sonnenberger joerg at britannica.bec.de
Fri Jul 22 03:01:17 PDT 2005


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





More information about the Bugs mailing list