[LLVMbugs] [Bug 23396] New: [Windows] -Wcast-qual doesn't work

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 1 22:28:22 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23396

            Bug ID: 23396
           Summary: [Windows] -Wcast-qual doesn't work
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vbvan at 163.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I don't see any warning:

clang++ bug.cpp -W -Wcast-qual

void f(const void *p1)
{
    char *p2 = (char *)p1;
}

Bug 4802 says it is fixed. Is the fix not included in the Windows version?

-- 
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/20150502/7bcf56a2/attachment.html>


More information about the llvm-bugs mailing list