Boost logo

Boost Users :

Subject: Re: [Boost-users] [array] GCC 4.2 warnings with array initialization
From: Jens Seidel (jensseidel_at_[hidden])
Date: 2009-07-13 11:04:00


On Mon, Jul 13, 2009 at 07:18:42AM +0200, plarroy wrote:
> Allen Cronce wrote:
>> When building with boost 1.36 and GCC 4.2 under Xcode, the following
>> code produces a warning:

>> I don't like the idea of making the above code changes, and I don't
>> want to globally disable the warning because it might be useful for
>> other code. Does anyone have a better solution?

Use the option -isystem to consider Boost as system header files so that
warnings in it are supressed.

Jens


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net