What issues can I expect compiling C code with a C++ compiler?
I’ve done something like this once. The main source of problems was that C++ is more strict about types, as you suspected. You’ll have to add casts where void* are mixed with pointers of other types. Like allocating memory: Foo *foo; foo = malloc(sizeof(*foo)); The above is typical C code, but it’ll need a cast … Read more