mirror of https://github.com/CGAL/cgal
Try to find the code generating __gnu_cxx::recursive_init_error in header only mode.
This commit is contained in:
parent
b507b12d4f
commit
2a41a1a9cd
|
|
@ -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<boost::int32_t>(seed));
|
||||
|
|
|
|||
Loading…
Reference in New Issue