ERR in curses and glibc 2.1.3

H . J . Lu hjl@lucon.org
Thu Mar 2 10:45:00 GMT 2000


On Thu, Mar 02, 2000 at 07:36:19PM +0100, Mark Kettenis wrote:
> 
> Huh?  By unusable you mean that if you #define _GNU_SOURCE you'll get
> a *warning* about ERR being redefined?
> 

It is more than that. Try

#include <ncurses.h>
#include <signal.h>

with -D_GNU_SOURCE. Just a hint:

enum
{
...
ERR,
...
};


H.J.


More information about the Libc-hacker mailing list