From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel,gmane.comp.lib.gnulib.bugs Subject: Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs Date: Tue, 17 Jun 2003 20:10:12 +0900 Organization: The XEmacs Project Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87u1apt0x7.fsf@tleepslib.sk.tsukuba.ac.jp> References: <3EE0960C.3020903@gnu.org> <87llw69ggn.fsf@penguin.cs.ucla.edu> <87isr5gx0j.fsf@penguin.cs.ucla.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055849727 1217 80.91.224.249 (17 Jun 2003 11:35:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Jun 2003 11:35:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jun 17 13:35:25 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19SEjj-0000HZ-00 for ; Tue, 17 Jun 2003 13:34:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19SEjr-0000Km-00 for ; Tue, 17 Jun 2003 13:34:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19SEiw-0006VF-P1 for emacs-devel@quimby.gnus.org; Tue, 17 Jun 2003 07:34:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19SEfU-0004gP-Mm for emacs-devel@gnu.org; Tue, 17 Jun 2003 07:30:28 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19SEfQ-0004co-W9 for emacs-devel@gnu.org; Tue, 17 Jun 2003 07:30:26 -0400 Original-Received: from tleepslib.sk.tsukuba.ac.jp ([130.158.98.109]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19SES6-0008Qw-05; Tue, 17 Jun 2003 07:16:38 -0400 Original-Received: from steve by tleepslib.sk.tsukuba.ac.jp with local (Exim 3.36 #1 (Debian)) id 19SELs-00057I-00; Tue, 17 Jun 2003 20:10:12 +0900 Original-To: Paul Eggert In-Reply-To: <87isr5gx0j.fsf@penguin.cs.ucla.edu> (Paul Eggert's message of "16 Jun 2003 21:15:24 -0700") User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (cassava, linux) Original-cc: Dave Love Original-cc: bug-gnulib@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15150 gmane.comp.lib.gnulib.bugs:557 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15150 >>>>> "Paul" == Paul Eggert writes: Paul> Dave Love writes: >> Surely it's incorrect not to use them if you want to use the >> features? Paul> However, I've found that it's usually a mistake to play with Paul> feature-test macros any more than that. FWIW, XEmacs does use the feature-test macros. config.h sets (or not) all of _POSIX_C_SOURCE, _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, _ALL_SOURCE (for AIX), _GNU_SOURCE (for glibc), and __EXTENSIONS__ (for Solaris), and if you've got X11, it also uses _POSIX_SOURCE, _BSD_SOURCE, and _SVID_SOURCE. That's a lot of macros! Martin Buchholz spent many hours studying standards and reviewing code to keep up with all this stuff, and make sure the preprocessor conditionals checked the correct feature macros etc. So I guess our experience mostly supports Paul's position. You could ask Martin . -- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.