http://llvm.org/bugs/show_bug.cgi?id=5310
Summary: [GCC Compatibility] Support stdcall/fastcall attribute
on function types
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Currently, our stdcall/fastcall attribute support is limited to function
declarations. We should also support stdcall/fastcall attributes applied to
function types, so that we can form function pointers that use a specific
calling convention.
At the moment, we warn about
typedef void (__attribute__((stdcall)) * callback)(int, int);
with
stdcall.c:1:30: warning: 'stdcall' attribute only applies to function types
typedef void (__attribute__((stdcall)) * callback)(int, int);
^
rather than properly handling the attribute.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs