[LLVMbugs] [Bug 20386] New: "function with no prototype cannot use fastcall calling convention" for function with prototype

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 21 10:38:55 PDT 2014


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: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140721/9c12df98/attachment.html>


More information about the llvm-bugs mailing list