[PATCH] Silence execvp argv warning in gcc.c on MinGW
Aaron W. LaFramboise
aaronavay62@aaronwl.com
Sun Aug 17 23:36:00 GMT 2008
Aaron W. LaFramboise wrote:
> Richard Guenther wrote:
>> On Sun, Aug 17, 2008 at 8:01 AM, Aaron W. LaFramboise
>> <aaronavay62@aaronwl.com> wrote:
>
>>> Annoyingly, Microsoft's prototype for execvp() differs from POSIX; the
>>> mingw-runtime headers are also different in this same way.
OK, I messed this up a second time. The attached patch is the one that
actually works to silence this warning.
Is this OK to commit?
I'd be open to any alternatives if this uglification is not OK. I'm
honestly not sure why there's an execvp() call in gcc.c at all, rather
than using libiberty pexecute.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-4.4.0-20080817-execvp3.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080817/457a33cd/attachment.ksh>
More information about the Gcc-patches
mailing list