|
Boost : |
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-09-13 16:54:01
JOAQUIN LOPEZ MU?Z wrote:
>
> ----- Mensaje original -----
> De: Peter Dimov <pdimov_at_[hidden]>
> Fecha: Miércoles, Septiembre 13, 2006 9:34 pm
> Asunto: Re: [boost] Boost inspection notification (2006-09-
> 13/RC_1_34_0) *X*
>
>> Rene Rivera wrote:
>>
>> [...]
>>
>>> 42 usages of unnamed namespaces in headers (including .ipp files)
>>> bind (1)
>> I'm not sure what I'm expected to do about that one. Bind has been
>> using an unnamed namespace for its placeholders for quite a
>> while now.
>
> FWIW, the inspection program is easy to cheat, as unnamed
> space detection relies in the following simplistic regex
>
> namespace\s(\?\?<|\{)
>
> So if you just want to shut the report off modify your
> unnamed space declaration so that it goes undetected (zero
> or more than one blanks, a /**/ between "namespace" and
> the bracket, etc.)
Not that you would condone cheating ;-) After verifying that the
particular use of unnamed namespace is indeed OK. You can add
"boostinspect:nounnamed" in a comment to skip checking the file.
NOTE: There are corresponding ignore options for all the inspection tests.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk