Barry: Why are you going to all this trouble? Objective C++ can link to C libraries.
Converting the output of rxgen from C to ObjC after generation is going to require that the conversion be repeated each and every time the .xg file is updated. Another approach would be to add ObjC support to rxgen. Jeffrey Altman Barry Fawthrop wrote: > Thanks Frank > > I'm using the XCode compiler and compiling everything as an Objective-C++ > project converting all > .c -> .mm > Yes it is very strict > for example when I was building the kerberos functions they would have > > char *name > name = malloc(sizeof(name)); > > This would throw and error about void * and char * > > I had to change to the following > > name = (char *)malloc(sizeof(name)); > > I'm still not sure how to deal with the xdr_ops as it is apart of the XDR > struct and > yet the functions inside need XDR as the first parameter so right now they > are declared > as void * > > Thanks all
smime.p7s
Description: S/MIME Cryptographic Signature
