Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: metsky@telemark.zk3.dec.com (David Metsky)
Subject: Re: Enforcing X Open Compliance in Digital Unix
Date: 1995/12/15	[thread overview]
Message-ID: <4asqnh$s9r@lead.zk3.dec.com> (raw)
In-Reply-To: 4amtbs$1u1@louie.udel.edu


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



      reply	other threads:[~1995-12-15  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-12  5:00 Enforcing X Open Compliance in Digital Unix Brad Veneracion
1995-12-15  5:00 ` David Metsky [this message]
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