emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64


From: Davis Herring
Subject: Re: Too many warnings building Emacs with GCC 6 on MSYS2-MinGW64
Date: Thu, 1 Sep 2016 10:17:36 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]