http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49347

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
            Summary|G++ does not accept         |G++ rejects Solaris spawn.h
                   |T[__restrict]               |use of __restrict

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-10 
18:31:28 UTC ---
C++ does not allow type-qualifiers between [], and it seems unnecessary to do
so when the type is going to decay to a pointer anyway.  Just have fixincludes
correct the solaris header to

        char *const *_RESTRICT_KYWD argv,
        char *const *_RESTRICT_KYWD envp);

Reply via email to