From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Davis Herring Newsgroups: gmane.emacs.devel Subject: Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64 Date: Thu, 1 Sep 2016 10:17:36 -0600 Organization: XCP-1 Message-ID: <3d9a7a28-d82c-2ad6-f4b0-adfebe6b6544@lanl.gov> References: <50083875-fbf6-d6b2-ffac-08c17c2bc696@alice.it> <83r395ko7o.fsf@gnu.org> <83h9a1kks6.fsf@gnu.org> <8337lklqrl.fsf@gnu.org> <11ac6b41-3a59-ec19-c414-151c08a91ba3@alice.it> <83oa48fiqn.fsf@gnu.org> <0749368a-c043-ef4b-8722-d5071f17a1e3@alice.it> <83h99zg0w0.fsf@gnu.org> <83a8frfvxe.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1472746728 23624 195.159.176.226 (1 Sep 2016 16:18:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Sep 2016 16:18:48 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 Cc: emacs-devel@gnu.org, kbrown@cornell.edu, Angelo Graziosi To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 01 18:18:45 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 1bfUhQ-0005l0-Ev for ged-emacs-devel@m.gmane.org; Thu, 01 Sep 2016 18:18:44 +0200 Original-Received: from localhost ([::1]:37962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfUhO-0003hv-2x for ged-emacs-devel@m.gmane.org; Thu, 01 Sep 2016 12:18:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfUga-0002zb-Gd for emacs-devel@gnu.org; Thu, 01 Sep 2016 12:17:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfUgW-0001Ui-Cb for emacs-devel@gnu.org; Thu, 01 Sep 2016 12:17:52 -0400 Original-Received: from proofpoint4.lanl.gov ([2001:400:4210:400::a4]:60787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfUgV-0001Tq-J2; Thu, 01 Sep 2016 12:17:48 -0400 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailgate4.lanl.gov (8.15.0.59/8.15.0.59) with ESMTP id u81GHaXJ027115; Thu, 1 Sep 2016 10:17:36 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (Postfix) with ESMTP id AACF4141C23B; Thu, 1 Sep 2016 10:17:36 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay1.lanl.gov Original-Received: from chinstrap.lanl.gov (chinstrap.lanl.gov [128.165.123.246]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 7FDAC141C238; Thu, 1 Sep 2016 10:17:36 -0600 (MDT) In-Reply-To: <83a8frfvxe.fsf@gnu.org> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.154, 1.0.3, 0.0.0000 definitions=2016-09-01_07:2016-09-01, 2016-09-01, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 2001:400:4210:400::a4 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:207075 Archived-At: > On Unix, execve indeed returns an int, because it's a process ID. On > Windows, the return value can be a process handle, which is a 64-bit > data type on 64-bit Windows. That is why the return value must be > intptr_t, not an int. No, it's an error code. (You said as much for POSIX in your following message, but it's an error code on all systems.) If it succeeds, the process image has been replaced and it doesn't return at all. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.