[LLVMbugs] [Bug 17689] New: [-cxx-abi microsoft] static const integers initialized in a class should be linkonce_odr
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Oct 24 16:08:29 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17689
Bug ID: 17689
Summary: [-cxx-abi microsoft] static const integers initialized
in a class should be linkonce_odr
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: rnk at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
MSVC emits static const integral class members in COMDATs, and the linker will
complain if clang requires users to provide a strong definition in a .cpp file.
Therefore we have to implement this extension in order to be ABI compatible
with MSVC.
--
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/20131024/6d8d6eb2/attachment.html>
More information about the llvm-bugs
mailing list