Boost logo

Boost Users :

Subject: Re: [Boost-users] [PATCH] Shadow Variables and Unused Globals Cause Warnings/Errors When Headers Are Not in System Path
From: Marshall Clow (marshall_at_[hidden])
Date: 2009-05-14 19:14:08

At 4:02 PM -0700 5/14/09, Marshall Clow wrote:
>At 2:14 PM -0700 5/14/09, Grant Erickson wrote:
>>I've recently added Boost to an Xcode 3.1.2 project with the following
>>warnings enabled in GCC/G++ 4.0.1:
>> -Werror -Wreturn-type -Wunused-function -Wunused-label -Wunused-variable
>> -Wshadow
>>Unfortunately, when boost is not installed in a "system" path as is the case
>>here. Unused and shadow variable warnings cause the build to fail when
>>warnings are treated as errors. This issue last come up for me about a year
>>ago in 1_35_0 with filesystem.hpp:
>Grant - you should open a Trac ticket at, and
>attach the patch there.
>That will assure that it doesn't get lost.

Even better would be if you could break it up into four tickets; one
for each library:


-- Marshall
Marshall Clow     Idio Software   <mailto:marshall_at_[hidden]>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at