Boost logo

Boost :

From: Gavin Lambert (boost_at_[hidden])
Date: 2022-05-29 22:56:22


On 29/05/2022 05:39, Andrea Bocci wrote:
> On Sat, 28 May 2022, 19:15 Soronel Haetir wrote:
>
>> Something I would consider useful from a compiler standpoint would be
>> able to control warnings on a path basis. That is, if it's part of the
>> system includes (along with other customizable directories), a
>> different, much more forgiving set of warnings is in effect.
>
> Doesn't GCC's "-isystem" do just that ?

It does, but MSVC lacks an equivalent; and both are not entirely
consistent about warnings arising from templates that are defined in a
system path but then only instantiated later as a result of user code.

Also, that disables all warnings, which can sometimes be too large a
hammer to wield.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk