------- Comment #25 from jason at redhat dot com 2010-02-16 18:43 ------- Subject: Re: NULL (__null) not considered different from 0 with C++
On 02/16/2010 01:27 PM, manu at gcc dot gnu dot org wrote: > I guess you mean Wconversion-null instead of Wconversion-nul. Fine. OK with that change. > Any suggestions to give better location information in this warning? I guess > the location of null_node is useless. No real suggestions; to avoid using input_location we'd need to track locations all the way through the overload resolution code. I wonder if in 4.6 we want to start wrapping uses of shared nodes such as null_node or decls in order to retain location information. Jason -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35669