[C++-sig] Re: const_argument test failures

Aleksey Gurtovoy agurtovoy at meta-comm.com
Wed Oct 20 01:01:15 CEST 2004


David Abrahams writes:
> Jonathan Brandmeyer wrote:
> > The "plan" was to see which compilers were affected by this bug.  It was
> > motivated by the thread "Slice test fails on Intel 8.1 at runtime" which
> > ran from 9/25 to 9/27.  When this test was originally added all versions
> > of MSVC and some (all?) versions of intel-win32 were affected.  MSVC 7.0
> > and newer would fail at runtime in the same way that vc7 is failing now,
> > and < 7.0 would fail at compile time.  At least one platform (icc 8.1 on
> > win32) had no source-level workaround at all that I knew of.  Apparently
> > something has changed since then since these toolchains are passing now.
> 
> This compiler bug should have been worked around on
> every platform that has partial specialization 

Definitely possible, but then all platforms that support partial 
specialization don't have a problem _compiling_ the code. I'm not sure how
run-time failures come into picture here.

> (the test passes for me with vc7.1), 

That's because the bug was fixed in the compiler.

> and it can be made to work on VC6/7 with
> 
> BOOST_TT_BROKEN_COMPILER_SPEC( object )

I don't see how this one would help, though.

--
Aleksey Gurtovoy
MetaCommunications Engineering




More information about the Cplusplus-sig mailing list