Andrey A. Chernov <[EMAIL PROTECTED]> writes:
> On Tue, Mar 11, 2003 at 10:49:43 -0500, Mike Barcroft wrote:
> > > 1) Any _POSIX_C_SOURCE with _ISOC99_SOURCE. It is from real life example
> > > (ImageMagick). It wants lower POSIX level, *but* wants _ISOC99_SOURCE in 
> > > the same time.
> > 
> > I don't like this at all.  The meaning of _ANSI_SOURCE is that the
> > source is exclusively written in C89 with no BSD, POSIX, or XSI
> > extentions.  Similarly, I was intending _C99_SOURCE to be used without
> > any POSIX.  Programs looking for C99+POSIX functions should specify
> > POSIX.1-2001, which incorporates both of these.
> 
> What to do, if, say, C99 program want to use some POSIX functions from 
> lower (and not from higher) POSIX standard?

I think this is pretty rare.  POSIX provides application writers with
lots of time to transition away from deprecated interfaces.  What
functions are missing if you change _POSIX_C_SOURCE to 200112L and
remove _ISOC99_SOURCE from the code you posted?

Best regards,
Mike Barcroft

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to