Boost logo

Boost :

From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2002-04-20 02:16:25


When we attempt to compile io_test.cpp with a newly installed copy of the
boost includes, we get the following error:
io_test.cpp
c:\Boost Releases\boost_1_27_0\boost\type_traits\composite_traits.hpp(155)
: fatal error C1001: INTERNAL COMPILER ERROR
         (compiler file 'msc1.cpp', line 2844)
          Please choose the Technical Support command on the Visual C++
          Help menu, or open the Technical Support help file for more
information

This program compiles just fine on VC6 sp5.

Apologies if this has already been reported.

Oh, the relevant lines in composite_traits.hpp are:
struct is_array
{
private:
    static T t;
public:
    BOOST_STATIC_CONSTANT(bool, value =
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ is line 155
       (::boost::type_traits::ice_and<
          (1 == sizeof(detail::is_array_helper(&t, t))),
          ::boost::type_traits::ice_not<
             ::boost::detail::is_reference_or_const_volatile<T>::value>::value,
          ::boost::type_traits::ice_not<
             (1 == sizeof(detail::is_function_tester(t)))>::value
>::value));
};



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk