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 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) Content-type: text/plain; charset=us-ascii References: <200501010313 DOT j013Do4F018246 AT speedy DOT ludd DOT ltu DOT se> <01c4eff0$Blat.v2.2.2$d6643f20 AT zahav DOT net DOT il> <200501011718 DOT j01HI90B032530 AT envy DOT delorie DOT com> Content-Transfer-Encoding: 8bit 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 Precedence: bulk On Sat, 01 Jan 2005 12:18:09 -0500, DJ Delorie 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