Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Different definitions for attr_t - DU 4.0
@ 1997-02-04  5:00 hessling mark 
  1997-02-10  5:00 ` Richard A. Muirden
  0 siblings, 1 reply; 2+ messages in thread
From: hessling mark  @ 1997-02-04  5:00 UTC (permalink / raw)



I have found that the inclusion of curses.h and sys/acl.h in the
one program causes a compilation error :-(

curses.h typedefs attr_t to long and sys/security.h (included via
sys/acl.h) defines attr_t as a struct.

Neither header file allows for conditional reference to its respective
attr_t.

Has anyone else noticed this problem ?

Cheers, Mark
------------------------------------------------------------------------
 Mark Hessling                 Email:             M.Hessling@qut.edu.au
 PO Box 203                    Phone:                    +617 3802 0800
 Bellara                       http://www.gu.edu.au/gext/the/markh.html
 QLD 4507                      **** Maintainer PDCurses & REXX/SQL ****
 Australia                     ************* Author of THE ************
------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Different definitions for attr_t - DU 4.0
  1997-02-04  5:00 Different definitions for attr_t - DU 4.0 hessling mark 
@ 1997-02-10  5:00 ` Richard A. Muirden
  0 siblings, 0 replies; 2+ messages in thread
From: Richard A. Muirden @ 1997-02-10  5:00 UTC (permalink / raw)



hesslinm@pigeon.qut.edu.au (hessling mark ) writes:
>I have found that the inclusion of curses.h and sys/acl.h in the
>one program causes a compilation error :-(

>curses.h typedefs attr_t to long and sys/security.h (included via
>sys/acl.h) defines attr_t as a struct.

>Neither header file allows for conditional reference to its respective
>attr_t.

>Has anyone else noticed this problem ?

Yes. I got grumpy and as my program needed security and curses I got
pissed and changed the security.h attr_t to pr_attr_t (and all occurances
during the file) and it doesn't seem to have broken anything... yet!! :)


>Cheers, Mark

-richard
--
            * Am looking for new sys admin job. 5 years exp! *
-------------------------------------------------------------------------------
  Richard A. Muirden, RMIT ITS Snr Unix Systems Admin: Web+News+Post -Master
mailto: richard@rmit.EDU.AU                   phone: 9660 3814, Fax: 9663 5652 
Likes: Shostakovich (134 CD's), 'planes, sci-fi, cats, romance, cuddles and...
                      http://www.rmit.edu.au/richard



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-02-10  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-04  5:00 Different definitions for attr_t - DU 4.0 hessling mark 
1997-02-10  5:00 ` Richard A. Muirden

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