[LLVMbugs] [Bug 10978] New: dllexport/dllimport attributes not fully implemented
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 21 08:49:37 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10978
Summary: dllexport/dllimport attributes not fully implemented
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: vanboxem.ruben at gmail.com
CC: llvmbugs at cs.uiuc.edu
While compiling Qt with Clang (partially) on Windows 32-bit (i686-w64-mingw32),
I ran into:
..\..\include\QtCore/../../../../Source/Qt/src/corelib/codecs/qtextcodec.h:177:7:
warning: 'dllexport' attribute only applies to variables and functions
class Q_CORE_EXPORT QTextDecoder {
^
..\..\include\QtCore/../../../../Source/Qt/src/corelib/global/qglobal.h:1301:29:
note: expanded from:
# define Q_CORE_EXPORT Q_DECL_EXPORT
^
..\..\include\QtCore/../../../../Source/Qt/src/corelib/global/qglobal.h:1267:38:
note: expanded from:
# define Q_DECL_EXPORT __declspec(dllexport)
^
<built-in>:132:38: note: expanded from:
#define __declspec(a) __attribute__((a))
^
43 warnings generated.
This is not right. You can dllexport/dllimport full classes too.
On top of this, x86_64-w64-mingw32 emits warnings about ignored
dllexport/dllimport regardless.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list