From: Rob J. <ju...@ob...> - 2004-07-15 03:07:09
|
Ilguiz, The MSVC build does indeed seem to be out-of-date. It seems to build version 1 (after fixing the mentioned cast) and no useful files are output. I don't see any executables, libraries or DLLs generated. Rob Ilguiz Latypov wrote: > > Christopher, > > On Wed, Jul 14, 2004 at 02:41:53PM -0500, Christopher C. Howard wrote: > > I'm currently getting "iaxclient_lib.c(534) : error C2036: 'void *' : > > unknown size". > [...] > > e->event.voice.data+total_consumed,e->event.voice.datalen-total_consumed, > > iEncodeType); > > I see that the type of the e->event.voice.data pointer is (void *) > indeed. Perhaps, the VC compiler won't assume that the size of the > elements pointed to by such pointer is known. Is it OK to cast the > pointer to (char *) or (uint8_t *) before adding an integer to it? This > will tell the compiler that the size of the elements is 1: > > ((uint8_t *)e->event.voice.data) + total_consumed > > It seems you are compiling the version 1 of the library. Was it a > deliberate choice? My make file from the iaxclient/lib CVS repository > is configured to version 2 by default: > > # set to 2 for IAX2 > IAXVER=2 > > Regards, > > -- > Ilguiz Latypov > > tel. +1 (519) 569-8746 > 66 Wildlark Crescent > Kitchener, Ontario N2N 3E9 > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Iaxclient-devel mailing list > Iax...@li... > https://lists.sourceforge.net/lists/listinfo/iaxclient-devel |