Re: [PATCH] always dllexport the singlethreaded variables

Nick Wellnhofer <[email protected]> Fri, 31 Aug 2018 11:57:33 +0200
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <[email protected]>
On 25/05/2018 17:46, Michael Haubenwallner wrote:
> When an application using libxml2 does not enable multithreaded support
> for itself, we provide the singlethreaded variables, eventually tagged
> with dllimport.  So even when we build the multithreaded libxml2, our
> singlethreaded variables still eventually need the dllexport tag.

I don't understand the issue. Do you mean an application linked with a DLL 
configured without thread support and compiled with single-thread headers, and 
THEN swapping the DLL with a multi-thread version? I'm not sure whether this 
should be supported.

Nick