www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/22/14:56:22

Date: Tue, 22 Nov 94 06:54:06 PST
From: baca AT crl DOT ucsd DOT edu (Kevin Baca)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: ansi/posix compatibility ideas and issues

>One question is, should I use the same technique for functions that
>are ansi but not posix, so that an ansi program can (for example)

Sounds reasonable.

>in the posix section or the non-posix section?  Basically, if you
>declare yourself to be a _POSIX_SOURCE program, should the headers
>provide prototypes for the __ff functions?

In my opionion, no.  For portability reasons, I would rather have to be
explicit about prototyping/including these functions.

>The same goes for ansi.  If you say you're a pure ansi program, should
>you get prototypes for non-ansi functions that fall within the ansi
>reserved name space?

Ditto.

-Kevin Baca

- Raw text -


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