Date: Sat, 08 Feb 2003 19:05:26 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <2593-Sat08Feb2003190526+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <%C91a.6723$kz5.677340@news1.east.cox.net> (message from Jason Kircher on Sat, 08 Feb 2003 15:46:03 GMT) Subject: Re: GCC warning - incompatible pointer type References: <200302081532 DOT h18FW3u24717 AT speedy DOT ludd DOT luth DOT se> <%C91a.6723$kz5 DOT 677340 AT news1 DOT east DOT cox DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Jason Kircher > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 08 Feb 2003 15:46:03 GMT > > ams AT ludd DOT luth DOT se wrote: > > Why don't you "info libc a qsort" and see how the example solves this? > > > > Alternatively is should be a safe to use strcmp directly (but don't > > hold me to this in court), so a functioncast (if possible) would make > > the compiler quiet. > > info... eeech. All I got out of info was a copy of the man page. I > found qsort in the man pages, but without example. I figured out the > present usage through (you'll love this) "grep --recursive qsort /*.c" > I'd love a library reference that HAD examples, or I wouldn't be bald now. The command you were advised to use, "info libc alpha qsort", will show you the library reference section that describes qsort, and which does include an example. Please try it.