Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: hlee@austin.ibm.com (Henry Lee)
Subject: Re: ANSI C with DCE on AIX
Date: Thu, 7 Apr 1994 18:34:16 GMT	[thread overview]
Message-ID: <CnwJL4.2EHo@austin.ibm.com> (raw)
In-Reply-To: CnvuG1.4Ex@Yuri.CC.Uni-Augsburg.DE


In article <CnvuG1.4Ex@Yuri.CC.Uni-Augsburg.DE>, benne@minsti01.MNWF.Uni-Augsburg.DE (Bernd Dreier) writes:
> Hello DCE-experts using AIX!
> 
> I have a problem using ANSI C with DCE on AIX 3.2.4. The compilation
> by xlc_r fails because of syntax errors in <dce/pthread.h>. Do I have to
> define additional constants like THREAD_SAVE or anything like this?
> I can do a -D_ALL_SOURCE, which prevents the syntax errors. But I think 
> in this case prototypes are not required by xlc, which means missing
> type checks, etc.
> 
> Any hints?
> 
> -- 
> ++Benne,
> 
The problem actually comes from a missing declaration of the type
sigset_t.  I found sigset_t in /usr/include/sys/types.h, and it
needs _POSIX_SOURCE or higher (e.g. _ALL_SOURCE) to turn it on.
  
Henry Lee


  reply	other threads:[~1994-04-07 18:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-04-07  9:31 ANSI C with DCE on AIX Bernd Dreier
1994-04-07 18:34 ` Henry Lee [this message]
1994-04-08 10:32   ` cc_r, xlc_r on AIX DCE Bernd Dreier
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