On Friday 09 January 2015 22:15:25 Giuseppe D'Angelo wrote:
> On 9 January 2015 at 20:19, André Pönitz <apoen...@t-online.de> wrote:
> > C++ 'nullptr' only gives a benefit over '0' in the rare cases where it
> > helps for disambiguation. I would not really like a policy encouraging
> > 'nullptr' when '0' is just fine, but at least that would be tolerable.
> 
> Not only that, compilers are starting to complain about 0 used in
> place of NULL / nullptr, for instance GCC under
> -Wzero-as-null-pointer-constant.

We may have to add that to headersclean, since conceivably our users may want 
to use it. But we don't have to turn it on for our sources.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to