cURL / Mailing Lists / curl-library / Single Mail


Re: sukender: curl/tests/libtest CMakeLists.txt,NONE,1.1

From: Daniel Stenberg <>
Date: Tue, 7 Apr 2009 19:45:37 +0200 (CEST)

On Tue, 7 Apr 2009, Sukender wrote:

>> Ah right. I had forgot about that. The test has an #ifdef for
>> CURL_HIDDEN_SYMBOLS so if the internal symbols are not available that
>> define should be set.
> Errr.... well, should I always set it or not, then? I mean I don't really
> understand the reason for defining CURL_HIDDEN_SYMBOLS or not since Bill's
> config and mine seem similar. The "internal symbols" should be available on
> both configs, shouldn't they?

In the configure script, --enable-hidden-symbols will make libcurl only expose
truly public symbols and then CURL_HIDDEN_SYMBOLS gets defined. Two
"hardcoded" config-*.h files seem to also define it.

Received on 2009-04-07