Re: [boost] Are warnings acceptable artifacts from builds?

On Wed 09/09/09 15:19 , Maciej Sobczak <prog@msobczak.com> wrote:
If a given user has a strict policy of not having *any* warnings during their build, then that policy is enough to prevent them from using Boost. I'm pretty sure that this scenario is not something that library authors would easily accept. Regards,
With gcc, we have chosen to include Boost using -i_system rather than -i so that /all/ Boost-generated warnings are suppressed, on the grounds that Boost developers know what they are doing and that all warnings are thus spurious. I'm interested if others think this approach is too cavalier.

On Wed, 09 Sep 2009 14:34:44 +0100, pete@pcbartlett.com wrote:
On Wed 09/09/09 15:19 , Maciej Sobczak <prog@msobczak.com> wrote: With gcc, we have chosen to include Boost using -i_system rather than -i so that /all/ Boost-generated warnings are suppressed, on the grounds that Boost developers know what they are doing and that all warnings are thus spurious. I'm interested if others think this approach is too cavalier.
When compiling with MSVC9 or 10 on x64 with warnings set to the maximum I really get flooded. What you're doing is maybe a bit cavalier but I wouldn't blame you, the amount of warnings is currently too important to disable them one by one in each file. -- EA
participants (2)
-
Edouard A.
-
pete@pcbartlett.com