Boost logo

Boost Users :

Subject: Re: [Boost-users] Compiler warnings when compiling property_tree v1.47.0
From: Lars Viklund (zao_at_[hidden])
Date: 2011-08-15 08:11:47


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_at_[hidden]

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