cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Openssl/applink.c
Openssl/applink.c
Mar 22, 2014 at 8:44pm UTC
marcohekla
(1)
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
Mar 22, 2014 at 11:52pm UTC
ne555
(10692)
> 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.