From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,21e55f7b9e8a37b X-Google-Attributes: gidfee84,public From: metsky@telemark.zk3.dec.com (David Metsky) Subject: Re: Enforcing X Open Compliance in Digital Unix Date: 1995/12/15 Message-ID: <4asqnh$s9r@lead.zk3.dec.com>#1/1 X-Deja-AN: 121945746 distribution: world references: <4amtbs$1u1@louie.udel.edu> organization: Digital Equipment Corporation reply-to: metsky@zk3.dec.com (David Metsky) newsgroups: comp.unix.osf.osf1 c89 -D_XOPEN_SOURCE -warnprotos Use of the "c89" command will give you an environment that is a superset of the latest X/Open standard (XPG4 in V3.2C). To get a strict X/Open environment the standard tells you to define the preprocessor symbol _XOPEN_SOURCE. This will cause the system include files mentioned in XPG4 to limit their definitions to those specified in the standard. In addition to this the "-warnprotos" option can be used to identify use of unprototyped functions at compile time. All XPG4 functions will be prototyped in the include file mentioned specified in XPG4. Use of include files not mentioned in XPG4 will reduce the effectiveness of this name-space restriction. Other XPG4 branded systems will also have to follow the name-space rules activated with the -D_XOPEN_SOURCE define, but they may or may not provide an equivalent to the -warnprotos compiler option. -dave- -- David Metsky Digital UNIX Software Group metsky@zk3.dec.com -- David Metsky Digital UNIX Software Group metsky@zk3.dec.com