diff --git a/Random_numbers/include/CGAL/Random_impl.h b/Random_numbers/include/CGAL/Random_impl.h index cb97040d743..851a210b488 100644 --- a/Random_numbers/include/CGAL/Random_impl.h +++ b/Random_numbers/include/CGAL/Random_impl.h @@ -47,9 +47,14 @@ Random( ) std::time( &s); seed = (unsigned int)s; #if defined( CGAL_TEST_SUITE ) || defined( CGAL_PRINT_SEED ) + /* TODO Re-add this mechanism later + Test if this is the guilty code which generate __gnu_cxx::recursive_init_error + in header only mode. + if(this == & get_default_random()){ std::cerr << "CGAL::get_default_random()::get_seed() = " << seed << std::endl; } + */ #endif // initialize random numbers generator rng.seed(static_cast(seed));