Re: Building GUI with libobjc2 for Windows MSVC
David Chisnall <[email protected]> Thu, 14 Oct 2021 12:59:56 +0100
| Newsgroups | gmane.comp.lib.gnustep.devel |
|---|---|
| Message-ID | <[email protected]> |
On 14/10/2021 07:28, Frederik Seiffert wrote: >> Am 13.10.2021 um 19:13 schrieb David Chisnall >> <[email protected] <mailto:[email protected]>>: >> >> I believe that this is a bug in clang. Â If the class is dllexported >> then the ivar offset variables for public / protected ivars should be >> dllexported as well. Â I think I missed that case when doing the >> Objective-C support for Windows - I'll take a look tomorrow. > > Thanks. I tried explicitly marking these variables as @public in Base > but are getting the same error. I believe this patch should fix it: https://reviews.llvm.org/D111792 Please can you test and report back? David