[LLVMbugs] [Bug 7025] New: __attribute__((regparm(3))) breaks declaratio <-> definition mapping
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon May 3 09:17:21 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7025
Summary: __attribute__((regparm(3))) breaks declaratio <->
definition mapping
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: syntheticpp at gmx.net
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
When compiling Qt 4.7, building qmake stops due to this error,
(QT_FASTCALL is defined to __attribute__((regparm(3))) ):
src/corelib/tools/qchar.cpp:707:12: error: conflicting types for 'digitValue'
int QChar::digitValue(ushort ucs2)
^
...
In file included from include/QtCore/qchar.h:1:
src/corelib/tools/qchar.h:315:28: note: previous declaration is here
static int QT_FASTCALL digitValue(ushort ucs2);
^
...
src/corelib/tools/qchar.cpp:717:12: error: conflicting types for 'digitValue'
int QChar::digitValue(uint ucs4)
...
In file included from
include/QtCore/qchar.h:1:
src/corelib/tools/qchar.h:314:28: note: previous declaration is here
static int QT_FASTCALL digitValue(uint ucs4);
^
--
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