Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2006-04-01 09:45:55


Yuval Ronen wrote:
> Olaf van der Spek wrote:
>> On 3/29/06, Foster Brereton <fosterb.boost_at_[hidden]> wrote:
>>
>>> The reason this is a problem is because our projects have
>>> warnings-as-errors turned on. We are not interested in disabling
>>> warnings-as-errors to mitigate the issue because of the far-reaching
>>> side effects of such a change.
>>>
>>> Has anyone else seen this problem? Are there other potential fixes
>>> other than removing all high-ASCII characters from the source files?
>>
>>
>> Disabling that particular warning?
>
> AFAIK, there is no way in MSVC to disable a specific warning other
> than
> using a #pragma, but this is an option only for own code, not
> third-party libraries which one have no control over (putting this
> pragma in every file before #including Boost header is cumbersome,
> IMO).
>
> I also think that since Boost supply generic libraries and not
> specific
> GUI, there is no reason for Boost code to go beyond plain low ASCII,
> *including comments*.

In VC7.1 atleast, see /wd compile option, which from the IDE is accessible
from project properties|C/C++|Advanced - Disable Specific warnings.

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk