[LLVMbugs] [Bug 17905] New: no diagnostic for variadic main

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 12 20:37:43 PST 2013


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

            Bug ID: 17905
           Summary: no diagnostic for variadic main
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: david.majnemer at gmail.com
          Reporter: richard-llvm at metafoo.co.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Clang is totally happy with this:

  int main(int, char**, ...) { return 0; }

We should diagnose this (in both C and C++).

-- 
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/20131113/e4c579e3/attachment.html>


More information about the llvm-bugs mailing list