[LLVMbugs] [Bug 17220] New: wmain should be treated as "main" when targeting win32.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 12 18:36:53 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17220

            Bug ID: 17220
           Summary: wmain should be treated as "main" when targeting
                    win32.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The following is a valid "main" for win32:

int wmain() {
}

this means that we shouldn't allow:

int main() {
}
int wmain() {
}

-- 
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/20130913/3854a1da/attachment.html>


More information about the llvm-bugs mailing list