[vtk-developers] Warning 4503 with currently supported VS compilers

Robert Maynard robert.maynard at kitware.com
Sun May 29 12:42:54 EDT 2011


Hi,

That means the decorated name is larger than the compiler limit ( 4096
characters ) this warning will appear in VS2005, VS2008, and 2010. You can
use structs instead of typedefs to work around this problem as seen in the
msdn article
http://msdn.microsoft.com/en-us/library/074af4b6%28v=VS.100%29.aspx.

On Fri, May 27, 2011 at 5:04 PM, Philippe Pébay <pppebay at sandia.gov> wrote:

> Hello
>
> I have put the following:
> #if defined(_MSC_VER)
> #pragma warning (disable:4503)
> #endif
> in some of the statistics classes because at least one VS compiler on the
> Dashboard gave me trouble with decorated name lengths.
>
> Does anyone know whether there still is this kind of limitation with the
> currently supported VS compilers?
>
> I would like to remove these statements if they have become unnecessary.
>
> Thanks
> Philippe
> --
> Philippe Pébay
> Sandia National Laboratories
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>


-- 
Robert Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110529/047bf538/attachment.html>


More information about the vtk-developers mailing list