[LLVMbugs] [Bug 2582] New: implicit cast of pointer to integer should generate warning

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jul 22 13:24:07 PDT 2008


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

           Summary: implicit cast of pointer to integer should generate
                    warning
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


clang should warn about
--
int foo(float *x) {
  return x;
}
--


-- 
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