Openssl/applink.c

Hi,

I am trying to run the file "applink.c" from the openssl package. I am doing this through codeblocks in C++, writting:

extern "C"
{
#include <openssl/applink.c>
}

This creates a number of errors, all the same as in a post I found somewhere else:
http://www.qtforum.org/article/35271/applink.html

The answer in the link is to add (void *) all over the place, however this doesn't work for me. I have searched the internet for hours now, so any help would be very much appreciated.

Thanks in advance,
Marco
> The answer in the link is to add (void *) all over the place
http://www.parashift.com/c++-faq/cant-cvt-fnptr-to-voidptr.html


¿why are you including a source file?
Topic archived. No new replies allowed.