[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs

From: Paul Eggert
Subject: Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs
Date: 13 Jun 2003 07:53:28 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Dave Love <address@hidden> writes:

> Then strftime would only need to define _POSIX_C_SOURCE and include
> the header.
> Does anyone know what's the problem defining the macros for POSIX (and
> other) features?

I've found that it's better to avoid those feature-test macros if
possible, as they tend to explore rarely-used and buggy corners of
include files, and they tend to disable other useful features.  My
experience is that it is sometimes necessary to use them on some
platforms, but it's better not to use them by default.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]