[Development] Fwd: RFF: nullptr rules

Matthew Woehlke mwoehlke.floss at gmail.com
Wed Dec 9 18:51:06 CET 2015

On 2015-12-09 12:23, Richard Moore wrote:
> On 9 December 2015 at 15:14, Marc Mutz wrote:
>> Arguments in favour:
>> -Wzero-as...,
>>   and it makes no sense to have two sets of rules for headers and impl
> ‚ÄčThere's nothing that says we need to allow people to use that warning,

...except that it isn't just a question of whether Qt uses it
internally, it affects whether or not *consumers* (of Qt) can use it.

(And yes, there is some extent to which this is a compiler problem, but
fixing it in the compiler is apparently really, really difficult. See
e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43486.)

> and nothing stopping us disabling it for our headers,

...except when that doesn't work, e.g. the bug report Marc referenced.


More information about the Development mailing list