http://llvm.org/bugs/show_bug.cgi?id=20386
Bug ID: 20386
Summary: "function with no prototype cannot use fastcall
calling convention" for function with prototype
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
> type test.c
void __fastcall CrcGenerateTable(void);
void __fastcall CrcGenerateTable() {}
> ..\..\..\..\llvm-ninja\bin\clang-cl.exe /c foo.c -w
foo.c(2,6) : error: function with no prototype cannot use fastcall calling
convention
void __fastcall CrcGenerateTable() {}
^
1 error generated.
The function has a prototype, though?
--
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