On Mon, Jan 3, 2011 at 11:32 AM, Daniel Stenberg <[email protected]> wrote:
> On Sun, 2 Jan 2011, Dan Fandrich wrote: > > Unfortunately, unit tests are impossible to run against a dynamic library >> when --enable-hidden-symbols is used. That's the whole point of >> --enable-hidden-symbols and can't be overcome. >> > > Exactly. And I believe Windows DLLs have the similar concept: it restricts > "access" to an explicit set of symbols. > > So when we want to unit test other functions we need another way to reach > them. > > Also, the existance of many static functions may force us to do a separate > build for unit tests anyway. > > -- > > / daniel.haxx.se > > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: http://curl.haxx.se/mail/etiquette.html > What does --enable-hidden-symbols exactly do ?
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
