Bug#585168: clang: No warning if NULL is assigned to int, unless NULL is defined in same file.

2010-08-25 Thread Arthur Loiret
Hi! Thanks for your bug report. Would you mind re-check with clang from testing or unstable? (Version 2.7-2 or later). Thanks! Arthur. 2010/6/9, Julian Andres Klode j...@debian.org: Package: clang Version: 2.6-3 Severity: normal Clangs behaviour differs depending on where NULL is defined.

Bug#585168: clang: No warning if NULL is assigned to int, unless NULL is defined in same file.

2010-06-09 Thread Julian Andres Klode
Package: clang Version: 2.6-3 Severity: normal Clangs behaviour differs depending on where NULL is defined. If NULL is defined locally, a warning is issued if NULL is assigned to an int variable. If the (same) definition of NULL is included via a header file, no warning is issued. 1. Definition