examples++-load/Element_Mixte3d.cpp:2560: error: STATIC_INITIALIZATION_ORDER_FIASCO Initializer of Fem2D::P0Edge3d accesses global variable from a different translation unit: map_type|. Showing all 5 steps of the trace examples++-load/Element_Mixte3d.cpp:2560:5: initialization of Fem2D::P0Edge3d 2558. static TypeOfFE_P0Edge3ds0 Elm_P0Edge3ds0; 2559. // a static variable to add the finite element to freefem++ 2560. static AddNewFE3 P0Edge3d("Edge03ds0",&Elm_P0Edge3ds0); ^ 2561. 2562. static TypeOfFE_Edge1_3d Edge1_3d; // TypeOfFE_Edge1_3d is the name of the class we defined examples++-load/Element_Mixte3d.cpp:2560:23: call to AddNewFE3_AddNewFE3 2558. static TypeOfFE_P0Edge3ds0 Elm_P0Edge3ds0; 2559. // a static variable to add the finite element to freefem++ 2560. static AddNewFE3 P0Edge3d("Edge03ds0",&Elm_P0Edge3ds0); ^ 2561. 2562. static TypeOfFE_Edge1_3d Edge1_3d; // TypeOfFE_Edge1_3d is the name of the class we defined src/fflib/AddNewFE.h:101:36: call to atype_*> 99. { 100. ffassert(tfe); // check 101. Global.New(FEname, Type_Expr(atype() ,new EConstantTypeOfFE3(tfe))); ^ 102. if(FEname2 && strlen(FEname2)) 103. TEF2dto3d[FindFE2(FEname2)]=tfe; src/fflib/AFunction.hpp:339:14: call to ShowType 337. // basicForEachType * r=map_type[]; 338. if (ir == map_type.end()) { cerr << "Error: aType '" << typeid(T).name() << "', doesn't exist\n"; 339. ShowType(cerr); ^ 340. throw(ErrorExec("exit",1));} 341. return ir->second;} src/fflib/AFunction2.cpp:708:10: access to map_type| 706. 707. map::const_iterator i; 708. for(i=map_type.begin();i!=map_type.end();i++) ^ 709. { 710. f << " --"<< i->first <<" = " ;