+-Kir Kolyshkin-([EMAIL PROTECTED])-[25.06.01 18:28]:
> > I guess, it's because Free is defined as
> > #define Free(addr) free(addr)
> > in openssl/crypto.h
> >
> > Now I wonder why you do a Free(); at all - for me it looks like it does
> > nothing? Or did you forget to include the address to free?
>
> This is actually CUrl::Free() method (defined in parse.h:180)
IC, I did not crawl that deep into the source :), isn't there a way to
do something like this::Free(); or similar in C++? (I really need to
learn that language :-)
>
> By the way, my OpenSSL installation don't define Free macros,
> maybe you have old version. Anyway, defining such a generic
> macro in public include file is braindamaged idea...so they
> should fix it, and I believe they did (I have OpenSSL-0.9.6)
# openssl version
OpenSSL 0.9.6a 5 Apr 2001
hmmmmm
# dpkg -l openssl libssl-dev
+++-==============-==============-============================================
ii openssl 0.9.6a-3 Secure Socket Layer (SSL) binary and related
ii libssl-dev 0.9.4-5 SSL development libraries
looks like libssl-dev was not updated to newer version :( - did that,
now compilation worked fine.
Balu