From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24459 invoked by alias); 21 Dec 2012 16:26:53 -0000 Received: (qmail 24356 invoked by uid 22791); 21 Dec 2012 16:26:40 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Dec 2012 16:26:33 +0000 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id qBLGQVQG078571 ; Fri, 21 Dec 2012 17:26:31 +0100 (CET) X-Envelope-To: gcc-patches@gcc.gnu.org Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id 578883BC6B; Fri, 21 Dec 2012 17:26:31 +0100 (CET) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xxa1ByyHNpOn; Fri, 21 Dec 2012 17:26:31 +0100 (CET) Received: by mailhost.lps.ens.fr (Postfix, from userid 8513) id 46F3A3BE1B; Fri, 21 Dec 2012 17:26:31 +0100 (CET) Date: Fri, 21 Dec 2012 16:26:00 -0000 To: gcc-patches@gcc.gnu.org Cc: jakub@redhat.com, rguenther@suse.de Subject: Re: [PATCH] Fix PR54659, include gmp.h from system.h User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20121221162631.46F3A3BE1B@mailhost.lps.ens.fr> From: dominiq@lps.ens.fr (Dominique Dhumieres) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01328.txt.bz2 I think revision 194665 breaks bootstrap on at least x86_64-apple-darwin10: g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../_clean/gcc -I../../_clean/gcc/build -I../../_clean/gcc/../include -I./../intl -I../../_clean/gcc/../libcpp/include -I/opt/mp/include -I../../_clean/gcc/../libdecnumber -I../../_clean/gcc/../libdecnumber/dpd -I../libdecnumber -I../../_clean/gcc/../libbacktrace -DCLOOG_INT_GMP -I/opt/mp/include \ -o build/genconstants.o ../../_clean/gcc/genconstants.c In file included from ./bconfig.h:3:0, from ../../_clean/gcc/genconstants.c:28: ./auto-host.h:1994:16: error: declaration does not declare anything [-fpermissive] #define rlim_t long ^ In file included from ../../_clean/gcc/genconstants.c:29:0: ../../_clean/gcc/system.h:502:34: error: declaration of C function 'const char* strsignal(int)' conflicts with extern const char *strsignal (int); ^ In file included from /opt/gcc/gcc4.8a/include/c++/4.8.0/cstring:44:0, from ../../_clean/gcc/system.h:207, from ../../_clean/gcc/genconstants.c:29: /usr/include/string.h:136:7: error: previous declaration 'char* strsignal(int)' here char *strsignal(int sig); ^ TIA Dominique