|
From: Ben H. <bh...@al...> - 2001-03-18 06:59:11
|
FYI, were these the errors you had? Was a morefiles bug, it looks like. Anyway, we dont really need to upgrade. > >From: Keith <sta...@ap...> >Newsgroups: comp.sys.mac.programmer.codewarrior >Subject: Re: MoreFiles 1.5.1 and DirectoryCopy compile errors >Date: Sun, 11 Mar 2001 17:24:47 -0800 > >In article <wmo...@ne...>, > Will <wmo...@ma...> wrote: > >> DirectoryCopy with MoreFiles 1.5.1 has problems compiling. For Classic >> I get a bunch of these errors: >> >> Error : function call 'InvokeCopyFilterUPP(CInfoPBRec *, pascal >> unsigned char (*)(const CInfoPBRec *))' does not match >> 'InvokeCopyFilterUPP(const CInfoPBRec *, RoutineDescriptor *)' >> DirectoryCopy.c line 155 InvokeCopyFilterUPP(&theGlobals->myCPB, >> theGlobals->copyFilterProc) >> >> For Carbon I get a bunch of these errors: >> Error : undefined identifier 'CallCopyFilterProc' >> DirectoryCopy.c line 155 >> CallCopyFilterProc(theGlobals->copyFilterProc, &theGlobals->myCPB) ) /* >> filter if filter proc was supplied */ >> >> Apparently CallCopyFilterProc is not defined in DirectoryCopy.h for >> Carbon: >> #if CALL_NOT_IN_CARBON || OLDROUTINENAMES >> /* support for pre-Carbon UPP routines: New...Proc and Call...Proc */ >> #define NewCopyFilterProc(userRoutine) >> NewCopyFilterUPP(userRoutine) >> #define CallCopyFilterProc(userRoutine, cpbPtr) >> InvokeCopyFilterUPP(cpbPtr, userRoutine) >> #endif /* CALL_NOT_IN_CARBON */ >> >> So how is the code supposed to compile when it references >> CallCopyFilterProc yet CallCopyFilterProc is not defined (for Carbon)? >> >> Anyone have an update or similar experience? > >It's a mistake. It will be fixed in a new release of MoreFiles, post >1.5.1, due out asap. > >-Keith >ke...@st... -- NOTE: Please change my address in your address book from bh...@sa... to bh...@al... as my UCSD address will be permanent. <http://freepages.sf.rootsweb.com/~bhines/> - My Genealogy Pages |