From 5623e48fb537043bc0282e4929c117a3bb44449a Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 13 Mar 2019 01:45:16 +0200 Subject: [PATCH] Comment out MyInt test, because MyInt is not TriviallyCopyable under C++03 --- test/endian_test.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/endian_test.cpp b/test/endian_test.cpp index 171ffb6..7512ca6 100644 --- a/test/endian_test.cpp +++ b/test/endian_test.cpp @@ -732,6 +732,8 @@ namespace } // check_representation_and_range +/* + class MyInt { int32_t mx; @@ -780,6 +782,8 @@ namespace // cout << "v+v is " << +(v+v) << endl; } +*/ + long iterations = 10000; template< class Endian > @@ -819,8 +823,8 @@ int cpp_main( int argc, char * argv[] ) check_alignment(); check_representation_and_range_and_ops(); check_data(); - check_udt(); - check_udt_le(); + //check_udt(); + //check_udt_le(); //timing_test ( "big_int32_t" ); //timing_test( "big_int32_at" );