
12 Sep
2009
12 Sep
'09
12:37 p.m.
Gpderetta wrote:
Il giorno 12/set/2009, alle ore 01.46, Emil Dotchevski <emildotchevski@gmail.com> ha scritto:
On Fri, Sep 11, 2009 at 4:40 PM, Steven Watanabe <watanabesj@gmail.com> 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