[LLVMbugs] [Bug 13819] New: __SIZE_TYPE__ is incompatible to -pedantic with LLP64 Win64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 12 02:49:24 PDT 2012


             Bug #: 13819
           Summary: __SIZE_TYPE__ is incompatible to -pedantic with LLP64
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: geek4civic at gmail.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 8833
    Classification: Unclassified

$ bin/clang -cc1 -triple x86_64-mingw32 -fsyntax-only -pedantic -verify
error: 'warning' diagnostics seen but not expected:
  Line 25: 'long long' is an extension when C99 mode is not enabled
1 error generated.

__SIZE_TYPE__ is "long long" in LLP64 Win64.

void *operator new(__SIZE_TYPE__, int); 

I wonder how we should suppress the warning.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list