[LLVMbugs] [Bug 13647] New: -Wint-to-pointer-cast not implemented

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Aug 19 23:05:18 PDT 2012


             Bug #: 13647
           Summary: -Wint-to-pointer-cast not implemented
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: tss at iki.fi
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

void foo(void *);

int main(void) {
    int x = 0;

    foo((void *)x);
    return 0;

gcc warns:

test2.c:6:6: warning: cast to pointer from integer of different size

clang gives no 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