[Libreoffice] [PATCH] [PUSHED] msvc doesn't allow dll interface in both class and functions

Stephan Bergmann sbergman at redhat.com
Mon Jan 9 02:12:08 PST 2012

On 01/08/2012 06:20 PM, Korrawit Pruegsanusak wrote:
> IMHO, the problem is caused by part of the commit [1]
> Seems msvc doesn't allow us to have SAL_DLLPUBLIC_EXPORT in both class
> and functions definition. It throws compiler error C2487 [2]
> So, I tried to fix with 2 methods:
> 1. Remove dll interface from functions definition, now the whole class
> has dll interface
> 2. Remove dll interface from class definition, and only some functions
> has dll interface
> which I attached both patches.

Fixed in a third way now, 
reducing the set of exported symbols to just what is needed by 


More information about the LibreOffice mailing list