tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Ray Lauff <ray () thunder ! ocis ! temple ! edu>
To: tru64-unix-managers
Subject: asking again - why doesn't this program work?
Date: Fri, 18 Sep 1998 20:47:11 +0000	[thread overview]
Message-ID: <96078721911943.tru64-unix-managers.marc@archive.invalid> (raw)


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

                 reply	other threads:[~1998-09-18 20:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox