[fixincludes] Fix posix_spawn* declarations in Solaris <spawn.h> (PR c++/49347)
Bruce Korb
bkorb@gnu.org
Mon Jul 25 16:30:00 GMT 2011
On 07/25/11 08:17, Rainer Orth wrote:
> As discussed in the PR, the Solaris 10+<spawn.h> header needs a fix to
> make it work with g++. The following patch implements it.
>
> It passed a i386-pc-solaris2.11 bootstrap without regressions and make
> check in fixincludes works without failures.
>
> Ok for mainline?
Hi Rainer,
> some-function(char *const argv[_RESTRICT_KYWD], ...)
looks pretty broken to me. How would it work with plain gcc?
Anyway, editing the _RESTRICT_KYWD into the correct place looks
correct to me, and I'm sure you tested. "Ship it". Methinks
all active branches, too....
More information about the Gcc-patches
mailing list