fixinc for Solaris 2.5.1

Eric Botcazou ebotcazou@libertysurf.fr
Mon May 26 18:07:00 GMT 2003


> I may be wrong, but it shouldn't.  Such warnings should be disabled
> in the system headers.

Yep, it worked fine without the complete prototype.

> They flat out don't work on BSD.  If passing -b to diff fixes the problems
> you see, then please email me confirmation & we'll add it.  I don't think
> the BSD sed issue is fixable because it produces different results.

You're right, it's a little better but not much, I still get failures on 
spurious whitespaces. Probably not worth adding.

I hadn't bootstrapped with Java enabled the first time but I just did and saw 
the two failures reported by Arno, both on Solaris 2.5.1 and 2.6, so I added 
two other hacks.

Bootstrapped (all languages except Ada) on Sparc/Solaris 2.5.1 and 2.6.

[Arno, what's your complete name for the ChangeLog entry]

-- 
Eric Botcazou

2003-05-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
                   Arno <arno@heho.snv.jussieu.fr>

        * fixinc/inclhack.def: Add missing declaration of getpagesize()
        to <unistd.h> on Solaris 2.5.1.
	Fix prototype of recv() and send() in <sys/socket.h> on
	Solaris 2.5.1 and 2.6.
        * fixinc/tests/base/unistd.h: Add solaris_unistd fix test.
	* fixinc/tests/base/sys/socket.h: Add solaris_socket_1 and
	solaris_socket_2 tests.
        * fixinc/check.tpl: Use 'diff -c', not 'diff -u'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solaris_fixinc-2.diff
Type: text/x-diff
Size: 4327 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030526/97489299/attachment.bin>


More information about the Gcc-patches mailing list