From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: preparing the pretest Date: Thu, 26 Sep 2002 07:17:26 +0200 (IST) Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1033017766 21789 127.0.0.1 (26 Sep 2002 05:22:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 05:22:46 +0000 (UTC) Cc: Emacs developers Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17uR6q-0005fJ-00 for ; Thu, 26 Sep 2002 07:22:44 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17uRoR-0000LH-00 for ; Thu, 26 Sep 2002 08:07:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uR6r-0000qE-00; Thu, 26 Sep 2002 01:22:45 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17uR4e-0000eg-00 for emacs-devel@gnu.org; Thu, 26 Sep 2002 01:20:28 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17uR4V-0000e0-00 for emacs-devel@gnu.org; Thu, 26 Sep 2002 01:20:27 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uR4U-0000cu-00; Thu, 26 Sep 2002 01:20:18 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id HAA13274; Thu, 26 Sep 2002 07:17:26 +0200 (IST) X-Sender: eliz@is Original-To: Francesco Potorti` In-Reply-To: Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8172 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8172 On Wed, 25 Sep 2002, Francesco Potorti` wrote: > gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/home/pot/gnu/emacs-pretest/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 -DPURESIZE=5000000 -I../src dired.c > In file included from dired.c:93: > regex.h:541:1: warning: "__restrict_arr" redefined > In file included from /usr/include/features.h:283, > from /usr/lib/gcc-lib/i386-linux/3.2.1/include/stdio.h:37, > from s/gnu-linux.h:157, > from config.h:371, > from dired.c:23: > /usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous definition > > The warning does not appear when using gcc 2.95 (and did not appear with > gcc 3.0). The reason is that src/regex.h has this: > > > ===File ~/gnu/emacs-pretest/src/regex.h===================== > /* For now unconditionally define __restrict_arr to expand to nothing. > Ideally we would have a test for the compiler which allows defining > it to restrict. */ > #define __restrict_arr I suggest to make this definition conditional: #ifndef __restrict_arr #define __restrict_arr #endif