[vtk-developers] old MSC compiler directive

Pebay, Philippe P pppebay at sandia.gov
Tue Feb 15 21:46:08 EST 2011


Thanks David--I'll thus try and see how much red this generates on the Dashboard...

P
--
Philippe Pébay
Sandia National Laboratories

________________________________________
From: David Cole [david.cole at kitware.com]
Sent: Tuesday, February 15, 2011 4:12 PM
To: Pebay, Philippe P
Cc: vtk-developers at vtk.org
Subject: Re: [vtk-developers] old MSC compiler directive

>From googling "MSVC 4503" : http://msdn.microsoft.com/en-us/library/074af4b6(v=vs.80).aspx

'identifier' : decorated name length exceeded, name was truncated

The decorated name was longer than the compiler limit (4096), and was truncated. To avoid this warning and the truncation, reduce the number of arguments or name length of identifiers used.

It may be still necessary for older MSVC's, and it may even still be necessary for VS 2010. You'd have to try. This warning was always generated by Debug builds of stuff using STL extensively (or sometimes even incidentally...)

You'd have to try it without it to see.....


HTH,

David


On Tue, Feb 15, 2011 at 7:03 PM, Pebay, Philippe P <pppebay at sandia.gov<mailto:pppebay at sandia.gov>> wrote:
Hello

I still have some the following old MSC compiler directive in several statistics engines:

#if defined(_MSC_VER)
#pragma warning (disable:4503)
#endif

It was put long ago as a result of some issues with (surprise) some MS compiler, but I do not remember exactly why.

I wonder whether this still is necessary.

Thanks
P
--
Philippe Pébay
Sandia National Laboratories

_______________________________________________
Powered by www.kitware.com<http://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






More information about the vtk-developers mailing list