error in curses.h on Sol 2.6
Posted on 2003-10-28
My code uses curses.h. The code builds fine on Sol 2.7 and sol 2.8, however, when I build the code on Sol2.6, i am getting the following error:
"/usr/include/curses.h", line 80: Error: A declaration does not specify a tag or an identifier.
The line 80 is
typedef char bool;
Looks to be curses.h is broken here on this line.
Is there a patch available for the same or if some one could provide any other pointers on the same.
In Sol2.7 this statement is enclosed in an #ifdef.