From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,95b6538d49eec61a X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-04-07 11:34:16 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!hlee From: hlee@austin.ibm.com (Henry Lee) Subject: Re: ANSI C with DCE on AIX Originator: hlee@grape.austin.ibm.com Sender: news@austin.ibm.com (News id) Message-ID: Date: Thu, 7 Apr 1994 18:34:16 GMT References: Organization: IBM Austin In article , 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 . 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