www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2005/01/01/13:03:33

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Sat, 01 Jan 2005 11:03:23 -0700
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: More complaints from tests/libclink/check
In-reply-to: <200501011718.j01HI90B032530@envy.delorie.com>
To: djgpp-workers AT delorie DOT com
Message-id: <67pdt0leu3acu18g6cgjtggn6hs1hqld3i@4ax.com>
Organization: Systematic Software
MIME-version: 1.0
X-Mailer: Forte Agent 1.93/32.576 English (American)
References: <b24ct0djfmkn9sq8tjr2df792rfhdf4d0e AT 4ax DOT com>
<200501010313 DOT j013Do4F018246 AT speedy DOT ludd DOT ltu DOT se>
<m4ect01p964inq4g0pb0dtk3u90p4e3mn2 AT 4ax DOT com>
<01c4eff0$Blat.v2.2.2$d6643f20 AT zahav DOT net DOT il>
<o0ldt0lsim9ohe9p0tno7h0d103nd6mab5 AT 4ax DOT com>
<200501011718 DOT j01HI90B032530 AT envy DOT delorie DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j01I3Ppm027377
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 01 Jan 2005 12:18:09 -0500, DJ Delorie <dj AT delorie DOT com> wrote:

>
>> Not quite sure what the #ifndef _POSIX_SOURCE intent is? 
>
>If a *program* defines _POSIX_SOURCE, the headers must not provide
>anything not allowed by the POSIX specification.
>
>Stubs, by definition, are allowed by all specs.

So as these are POSIX functions, I should stub them outside the
#ifndef _POSIX_SOURCE section, but within the 
#ifndef _STRICT_ANSI section? 

Any preference as to whether they should appear before or after the 
#ifndef _POSIX_SOURCE section? 

-- 
Thanks. Take care, Brian Inglis

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019