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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to