From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64 Date: Wed, 31 Aug 2016 17:01:08 +0200 Message-ID: References: <50083875-fbf6-d6b2-ffac-08c17c2bc696@alice.it> <83r395ko7o.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1472655858 3487 195.159.176.226 (31 Aug 2016 15:04:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2016 15:04:18 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 31 17:04:08 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bf73Z-0007Wp-RG for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2016 17:04:01 +0200 Original-Received: from localhost ([::1]:54526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf73V-00018W-OR for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2016 11:03:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf72W-00013s-DA for emacs-devel@gnu.org; Wed, 31 Aug 2016 11:03:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf72P-0007x0-Mx for emacs-devel@gnu.org; Wed, 31 Aug 2016 11:02:55 -0400 Original-Received: from smtp201.alice.it ([82.57.200.97]:39114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf72P-0007wu-B0; Wed, 31 Aug 2016 11:02:49 -0400 Original-Received: from [192.168.1.100] (79.45.0.244) by smtp201.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 57C3FF530052DF32; Wed, 31 Aug 2016 17:01:27 +0200 In-Reply-To: <83r395ko7o.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.97 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207029 Archived-At: Il 31/08/2016 16:27, Eli Zaretskii ha scritto: >> From: Angelo Graziosi >> Date: Wed, 31 Aug 2016 10:01:25 +0200 >> >> Since there was the upgrade from GCC5 to GCC6 on MSYS2-MinGW64, the >> build log of Emacs (master) contains a lot of warnings like this: >> >> [...]/work/emacs-master/nt/inc/ms-w32.h:296:17: warning: conflicting >> types for built-in function 'execve' > > Please show at least one such warning in its entirety. I don't have > GCC 6.x here, so I cannot know what does it not like in our prototype. Oh yes, this is an example make[2]: ingresso nella directory "/tmp/work/emacs-master/lib" CC acl-errno-valid.o CCLD ddeclient.exe In file included from ../src/conf_post.h:32:0, from ../src/config.h:1926, from acl-errno-valid.c:20: C:/msys64/tmp/work/emacs-master/nt/inc/ms-w32.h:296:17: warning: conflicting types for built-in function 'execve' extern intptr_t execve (const char *, char * const *, char * const *); ^~~~~~ CCLD runemacs.exe make[1]: uscita dalla directory "/tmp/work/emacs-master/nt" The header ms-w32.h is included elsewhere and gives 134 of this warnings.. > Thanks. Angelo