Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pilchuck!dataio!bright From: bright@Data-IO.COM (Walter Bright) Newsgroups: comp.lang.c++ Subject: Re: Resolving function pointer type mismatch ? Message-ID: <2395@dataio.Data-IO.COM> Date: 22 Mar 90 21:52:53 GMT References: <1686@sparko.gwu.edu> Reply-To: bright@Data-IO.COM (Walter Bright) Distribution: na Organization: Data I/O Corporation; Redmond, WA Lines: 17 In article <1686@sparko.gwu.edu> jeff@seas.gwu.edu (Jeff Schilling) writes: < int (*keytest)(void *,void *) ,) returning> ,) returning> strcmp is prototyped in string.h as: int cdecl strcmp(char *,char *); This does not match your function pointer declaration. Hence the error message. Change the declaration of keytest to match: int (cdecl *keytest)(char *,char *);