Boost logo

Boost Users :

Subject: Re: [Boost-users] [General] Warnings and pragmas in MSVC
From: Matthew Bray (mat_at_[hidden])
Date: 2009-01-14 08:01:39


One solution would be to disable that warning project-wide, under
Project Properties, C/C++, Advanced, Disable Specific Warnings.

Robert Jones wrote:
> On Wed, Jan 14, 2009 at 10:39 AM, Peter Barker <newbarker_at_[hidden]
> <mailto:newbarker_at_[hidden]>> wrote:
>
> On Wed, Jan 14, 2009 at 10:28 AM, Robert Jones
> <robertgbjones_at_[hidden] <mailto:robertgbjones_at_[hidden]>> wrote:
> > I've written some code using the Lambda & Lambda.bind libraries,
> > although I don't think that really matters, which produce a page ful
> > of C4503 warnings,
> >
> > 4503 'identifier' : decorated name length exceeded, name was truncated
> >
> > In my code I've tried using pragma disable around the lines which
> I altered
> > to cause the warnings, but it makes no difference. Is it necessary
> to apply
> > these pragmas within the Boost library code, or is there a better way?
> >
> > Thanks, Rob.
> >
> >
> > _______________________________________________
> > Boost-users mailing list
> > Boost-users_at_[hidden] <mailto:Boost-users_at_[hidden]>
> > http://lists.boost.org/mailman/listinfo.cgi/boost-users
> >
>
> What MSVC version are you using?
>
>
> Microsoft Visual Studio 2005 Pro
> Microsoft Visual C++ 2005
>
> Thanks, Rob.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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