I've asked this question before, but perhaps this example helps.
Why doesn't the following program compile?
---------------------------------------
#include <curses.h>
#include <sys/security.h>
main()
{
puts("Hello world!");
}
---------------------------------------
---------------------------------------
% cc test.c
cc: Error: /usr/include/sys/security.h, line 152: In this declaration, "attr_t" has no linkage and h
as a prior declaration in this scope at line number 77 in file /usr/include/curses.h.
} attr_t;
--^
---------------------------------------
I received one response when I last posted this ( thanks John Speno ).
The compiler error occurs on both DU 4.0b and DU 4.0d.
Is there a work around for this -- should I just go in and edit the
security.h file -- heck, I'm the only one here using it anyway...
Any help appreciated in resolving this issue.
ray
--
Ray Lauff : ray_at_thunder.ocis.temple.edu : (215) 204-5678 : Temple University
Received on Fri Sep 18 1998 - 20:49:12 NZST