[llvm-bugs] [Bug 26987] New: [Windows] "cdecl" can be used as alias for "__cdecl" specifier

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 18 02:59:48 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=26987

            Bug ID: 26987
           Summary: [Windows] "cdecl" can be used as alias for "__cdecl"
                    specifier
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sgvozdar at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

It's Microsoft compiler compatibility issue
=== Reproducer ==========
int cdecl foo()
{
    return 0;
}
=========================
This code compiles without problems by Microsoft compiler.
NB: 'stdcall' or 'fastcall' are not accepted


Sergey Gvozdarev
===============
Software Engineer
Intel Compiler Team

-- 
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/20160318/b5bdae6a/attachment.html>


More information about the llvm-bugs mailing list