Changeset 62161


Ignore:
Timestamp:
May 22, 2010, 10:48:13 PM (8 years ago)
Author:
Niels Dekker
Message:

Removed temporary code, skipping value-initialization of pointer-to-member objects for Intel <= 11.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/config/test/boost_no_com_value_init.ipp

    r62126 r62161  
    517517// the function above here.
    518518#define FAILED_TO_VALUE_INITIALIZE(value) failed_to_value_initialized(value, #value)
    519 
    520 // TODO Niels Dekker, May 17, 2010: The following code is meant to be very tentative (trunk only).
    521 // It should be removed later this month, and is certainly not meant to become part of the release branch!!!
    522 #ifdef __INTEL_COMPILER
    523     #if __INTEL_COMPILER <= 1110
    524     // The following macro indicates that initialization of ptr_to_member must be skipped.
    525     // Such an initialization triggered an internal error (assertion failed at: "shared/edgglue/edg_expr.c",
    526     // line 2859) on Intel <= 11.1 (Intel support issue 589832, reported by John Maddock, May 2010).
    527         #define BOOST_DETAIL_NO_COMPLETE_VALUE_INITIALIZATION_SKIP_PTR_TO_MEMBER
    528     #endif
    529 #endif
    530519
    531520
     
    772761        FAILED_TO_VALUE_INITIALIZE(m_member_function_ptr_struct_array[0]) +
    773762        FAILED_TO_VALUE_INITIALIZE(m_member_function_ptr_struct_array[1]) +
    774 #ifdef BOOST_DETAIL_NO_COMPLETE_VALUE_INITIALIZATION_SKIP_PTR_TO_MEMBER
    775         ( (std::cout << "Note: Skipped ptr_to_member checks\n"), 1) +
    776 #else
     763#ifndef BOOST_DETAIL_NO_COMPLETE_VALUE_INITIALIZATION_SKIP_PTR_TO_MEMBER
    777764        FAILED_TO_VALUE_INITIALIZE(m_ptr_to_member) +
    778765        FAILED_TO_VALUE_INITIALIZE(m_ptr_to_member_array[0]) +
     
    10291016        << num_failures_of_heap_objects << "): "
    10301017        << total_num_failures
    1031         << "\nDetected by boost_no_complete_value_initialization::test() revision 30."
     1018        << "\nDetected by boost_no_complete_value_initialization::test() revision 31."
    10321019        << std::endl;
    10331020    }
Note: See TracChangeset for help on using the changeset viewer.