[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-Porters] Compilation Error in qsort.cp



In article <862567CB.0067BADE.00@notesmta.natinst.com>, jason.whitehead@natinst.com writes:

> I get the following error and I can not seem to find were _Cmpfun is defined in
> any of the MacPerl source files.
> Could someone please shed some light here, I need to be able to compile this
> code.


> File "qsort.cp Line 85

> med3(char *a, char *b, char *c, _Cmpfun * cmp)
>                                   ^
> ')' expected

_Cmpfun is probably the comparison function used by qsort, as defined in
whatever wversion of stdlib.h I was using at the time.

Are you sure you still need qsort? I think perl doesn't call it anymore
in 5.004.

Matthias

-- 
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
  "And that's why I am going to turn this world upside down, and make
   of it a fire so *bright* that someone real will notice"
                                -- Vernor Vinge, _Tatja Grimm's World_

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org