Boost logo

Boost :

Subject: Re: [boost] Current Guidance on Compiler Warnings?
From: Jayesh Badwaik (badwaik.jayesh_at_[hidden])
Date: 2018-11-19 20:14:16

On Monday, 19 November 2018 21:02:55 CET Emil Dotchevski via Boost wrote:
> In that context there are probably legal reason for zero-warning policy,
> but it is not true that lack of warnings means fewer errors, in fact it
> could easily lead to more errors. For example warnings about implicit
> conversions are frequently "fixed" by replacing the implicit conversion
> with explicit conversion (cast). But the two are semantically very
> different, and therefore one of them is incorrect, and very likely that is
> the explicit one.

Didn't know that. Can I see an example where the explicit warning is
incorrect as opposed to implicit warning?


Jayesh Badwaik

Boost list run by bdawes at, gregod at, cpdaniel at, john at