* asking again - why doesn't this program work?
@ 1998-09-18 20:47 Ray Lauff
0 siblings, 0 replies; only message in thread
From: Ray Lauff @ 1998-09-18 20:47 UTC (permalink / raw)
To: tru64-unix-managers
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@thunder.ocis.temple.edu : (215) 204-5678 : Temple University
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-09-18 20:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-18 20:47 asking again - why doesn't this program work? Ray Lauff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox