From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2003-05-07 04:51:05
Victor A. Wagner, Jr. wrote:
> I have a program that's been compiling for a while. Last Monday
> (2003 Apr 28) morning, I did my usual "grab boost from cvs" and
> started building all my current projects against the freshly
> retrieved stuff.
> Unfortunately, I got some unusual error messages of the form:
> C:\Projects\boost\boost\mpl\if.hpp(118) : error C2011:
> '__unnamed' : 'enum'
> type redefinition
> c:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\ShlObj.h(4476) : see declaration
> of '__unnamed'
> As you will quickly find out, line 118 of boost/mpl/if.hpp
> apparently has nothing to do with ANY enum.
Thanks for the report! Could you please check if the problem still exists
with the current CVS sources? Since the problem is not easily reproducible,
I was kind of shooting in the dark with this fix, but chances are it might
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk