[llvm-bugs] [Bug 40006] New: dllexport on constructors with in-class initializers causes error

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 13 08:04:31 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=40006

            Bug ID: 40006
           Summary: dllexport on constructors with in-class initializers
                    causes error
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lambert.clara at yahoo.fr
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 21219
  --> https://bugs.llvm.org/attachment.cgi?id=21219&action=edit
Minimal repro

Hello!

This seems to be a variation of the (closed) issue
https://bugs.llvm.org/show_bug.cgi?id=23542 still happening with latest clang.

The repro is: https://godbolt.org/z/1009tx

Possible workarounds are:
- put the dllexport on the whole struct
- move the = default out of line

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181213/38db0336/attachment.html>


More information about the llvm-bugs mailing list