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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected],
                   |                            |[email protected]
         Resolution|                            |FIXED

--- Comment #3 from [email protected] 2012-10-05 16:37:21 CDT ---
David Blaike has added -Wnon-literal-null-conversion in r161501 which catches
null pointer assignments of this form.

warning: expression which evaluates to zero treated
      as a null pointer constant of type 'char *'
      [-Wnon-literal-null-conversion]
    p = '\0';
        ^~~~

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

Reply via email to