This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Warning elimination patch in sched.c


	While compiling gcc/sched.c I get the warning:
	sched.c: In function `schedule_block':
	sched.c:3138: warning: passing arg 4 of `qsort' from incompatible pointer type
	sched.c:3233: warning: passing arg 4 of `qsort' from incompatible pointer type

A patch has been installed to fix this.  It is very similar to your patch,
except that it uses GENERIC_PTR instead of void *, as some older K&R C
compiler doesn't handle void *.

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]