From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078721911943.tru64-unix-managers.marc@archive.invalid> From: Ray Lauff Date: Fri, 18 Sep 1998 20:47:11 +0000 To: tru64-unix-managers Subject: asking again - why doesn't this program work? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078721911943 I've asked this question before, but perhaps this example helps. Why doesn't the following program compile? --------------------------------------- #include #include 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