This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v1] Port ndbm


On Wed, 2019-07-10 at 13:30 -0500, Joel Sherrill wrote:
> On Wed, Jul 10, 2019 at 12:59 PM Yaakov Selkowitz wrote:
> > On Wed, 2019-07-10 at 12:44 -0400, Craig Howland via newlib wrote:
> > > This is POSIX XSI.  Shouldn't there be some kind of gate?  (Or since the entire
> > > header is under XSI, no gate is needed since the user controls it on a file
> > > level?  I prefer this, but I don't know what general Newlib policy is, as most
> > > are mixed in and need individual gates.)
> > 
> > The latter.
> 
> Just to be clear, you are wanting gates around individual (or small groups
> of) methods?

Gating is only necessary when some parts of a header are governed by
different standards than other parts therein (e.g. XSI or GNU
extensions to an ANSI header).  Gating is NOT necessary when an entire
header is governed by a later standard and not included by other
standard headers, as the #include itself is essentially the gate.

-- 
Yaakov Selkowitz
Senior Software Engineer - Platform Enablement
Red Hat, Inc.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]