This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 1252
  silence gcc errors in hurd/intr-msg.c, sysdeps/mach/hurd/{setitimer.c,profil.c,ioctl.c} Last modified: 2005-11-04 21:43:38
     Query page      Enter new bug
Bug#: 1252   Hardware:   Reporter: Thomas Schwinge <tschwinge@gnu.org>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: Roland McGrath <roland@gnu.org>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
glibc_v.s._gcc-4.0.patch This is an updated patch. patch 2005-09-13 19:36 Edit | Diff
glibc_v.s._gcc-4.0.patch The remaining bits. patch 2005-10-17 18:04 Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1252 depends on: Show dependency tree
Show dependency graph
Bug 1252 blocks: 852

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2005-08-26 23:01
#v+
2005-08-05  Alfred M. Szmidt  <ams@gnu.org>

	* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Silence GCC 4.x
        errors.
	* sysdeps/mach/hurd/setitimer.c: Likewise,
	* sysdeps/mach/hurd/profil.c: Likewise.
	* sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
#v-

http://sources.redhat.com/ml/libc-alpha/2005-08/msg00018.html

Needs to be fixed on HEAD and glibc-2_3-branch.

------- Additional Comment #1 From Thomas Schwinge 2005-09-13 19:36 -------
Created an attachment (id=660)
This is an updated patch.

I fixed the patch for ioctl.c and added some casts to make warnings from gcc go
away.

------- Additional Comment #2 From cvs-commit@gcc.gnu.org 2005-10-16 10:32 -------
Subject: Bug 1252

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2005-10-16 10:32:15

Modified files:
	sysdeps/mach/hurd: setitimer.c profil.c 

Log message:
	2005-08-05  Alfred M. Szmidt  <ams@gnu.org>
	
	[BZ #1252]
	* sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn
	forward decl out of function body.
	* sysdeps/mach/hurd/profil.c: Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/setitimer.c.diff?cvsroot=glibc&r1=1.22&r2=1.23
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/profil.c.diff?cvsroot=glibc&r1=1.10&r2=1.11


------- Additional Comment #3 From cvs-commit@gcc.gnu.org 2005-10-16 10:33 -------
Subject: Bug 1252

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-10-16 10:33:13

Modified files:
	sysdeps/mach/hurd: setitimer.c profil.c 

Log message:
	2005-08-05  Alfred M. Szmidt  <ams@gnu.org>
	
	[BZ #1252]
	* sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn
	forward decl out of function body.
	* sysdeps/mach/hurd/profil.c: Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/setitimer.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.22&r2=1.22.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/profil.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.10&r2=1.10.4.1


------- Additional Comment #4 From Roland McGrath 2005-10-16 10:34 -------
I put in the correct parts.  The intr-msg.c et al changes should cast to void *
to do arithmetic and then not need extra casts back.

------- Additional Comment #5 From Thomas Schwinge 2005-10-17 18:04 -------
Subject: Re:  silence gcc errors in hurd/intr-msg.c, sysdeps/mach/hurd/{setitimer.c,profil.c,ioctl.c}

On Sun, Oct 16, 2005 at 10:34:39AM -0000, roland at gnu dot org wrote:
> I put in the correct parts.  The intr-msg.c et al changes should cast to void *
> to do arithmetic and then not need extra casts back.

I attached a thusly updated patch.

------- Additional Comment #6 From Thomas Schwinge 2005-10-17 18:04 -------
Created an attachment (id=715)

------- Additional Comment #7 From cvs-commit@gcc.gnu.org 2005-10-23 00:43 -------
Subject: Bug 1252

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2005-10-23 00:43:15

Modified files:
	hurd           : intr-msg.c 
	sysdeps/mach/hurd: ioctl.c 

Log message:
	2005-10-17  Thomas Schwinge  <tschwinge@gnu.org>
	
	[BZ #1252]
	* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue.
	* sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/hurd/intr-msg.c.diff?cvsroot=glibc&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/ioctl.c.diff?cvsroot=glibc&r1=1.50&r2=1.51


------- Additional Comment #8 From cvs-commit@gcc.gnu.org 2005-10-23 00:55 -------
Subject: Bug 1252

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-10-23 00:55:47

Modified files:
	hurd           : intr-msg.c 
	sysdeps/mach/hurd: ioctl.c 

Log message:
	2005-10-17  Thomas Schwinge  <tschwinge@gnu.org>
	
	[BZ #1252]
	* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue.
	* sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/hurd/intr-msg.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.16&r2=1.16.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/ioctl.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.50&r2=1.50.4.1


------- Additional Comment #9 From Roland McGrath 2005-10-23 00:56 -------
Changes are on both branches.  Please verify everything is good.

------- Additional Comment #10 From Roland McGrath 2005-11-04 21:43 -------
This bug should be fixed in the 2.3.6 release just made.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In