Compiler warnings when compiling property_tree v1.47.0

Hello Users, I am using the Intel compiler v12.0.1029.2010 on Windows 7 x64 and when compiling the property_tree (v1.47.0) I get lots of warnings reported: infoStruct.cpp ..\..\Includes\boost/mpl/aux_/has_begin.hpp(20): warning #2586: 'test' : decorated name length exceeded, name was truncated BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF(has_begin, begin, true) This is one of many similar warnings generated and I was wondering if anyone could shed some light on how this can be solved. The code compiles of course and the library builds but I'd rather not have them at all. I would appreciate your comments on this thanks. -- Bill

On Sun, Aug 14, 2011 at 08:12:40PM +0100, Bill Moo wrote:
I am using the Intel compiler v12.0.1029.2010 on Windows 7 x64 and when compiling the property_tree (v1.47.0) I get lots of warnings reported:
infoStruct.cpp ..\..\Includes\boost/mpl/aux_/has_begin.hpp(20): warning #2586: 'test' : decorated name length exceeded, name was truncated BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF(has_begin, begin, true)
There's no clear solution to this in general on neither MSVC or ICC, and I experienced it a lot with Spirit Classic. The problem is that the types generated from template-happy code results in rather long mangled symbol names, which won't fit into the debug information fields (4k with MSVC at least). They are largely benign, and can be shut up through warning pragmas. -- Lars Viklund | zao@acc.umu.se
participants (2)
-
Bill Moo
-
Lars Viklund