From: Jason Kircher User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030112 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: GCC warning - incompatible pointer type References: <200302081532 DOT h18FW3u24717 AT speedy DOT ludd DOT luth DOT se> In-Reply-To: <200302081532.h18FW3u24717@speedy.ludd.luth.se> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 12 Message-ID: <%C91a.6723$kz5.677340@news1.east.cox.net> Date: Sat, 08 Feb 2003 15:46:03 GMT NNTP-Posting-Host: 68.9.50.32 X-Complaints-To: abuse AT cox DOT net X-Trace: news1.east.cox.net 1044719163 68.9.50.32 (Sat, 08 Feb 2003 10:46:03 EST) NNTP-Posting-Date: Sat, 08 Feb 2003 10:46:03 EST Organization: Cox Communications To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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.