Boost logo

Boost :

Subject: Re: [boost] Are warnings acceptable artifacts from builds?
From: Dmitry Goncharov (dgoncharov_at_[hidden])
Date: 2009-09-12 08:37:01


Gpderetta wrote:
>
> Il giorno 12/set/2009, alle ore 01.46, Emil Dotchevski
> <emildotchevski_at_[hidden]> ha scritto:
>
>> On Fri, Sep 11, 2009 at 4:40 PM, Steven Watanabe
>> <watanabesj_at_[hidden]> wrote:
>>> AMDG
>>>
>>> You can use -isystem instead of -I.
>>
>> Could someone test this with Boost, that is, could someone confirm
>> that using this approach gets rid of (only) the unwanted warnings?
>>
>
> Fwiw, I usually never see warnings from boost code because it comes
> installed from my os, a Linux distro, in /usr/include which gcc
> implicitly treats as -isystem.
>

This is not the case for other unix systems. E.g. freebsd has user
headers in /usr/local/include and gcc doesn't treat this path as system.

BR, Dmitry


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