examples++-load/Element_PkEdge.cpp:319: error: STATIC_INITIALIZATION_ORDER_FIASCO Initializer of Fem2D::P1Edge accesses global variable from a different translation unit: map_type|. Showing all 5 steps of the trace examples++-load/Element_PkEdge.cpp:319:5: initialization of Fem2D::P1Edge 317. static TypeOfFE_PkEdge PkEdgeP5(5); 318. // a static variable to add the finite element to freefem++ 319. static AddNewFE P1Edge("P1edge",&PkEdgeP1); ^ 320. static AddNewFE P2Edge("P2edge",&PkEdgeP2); 321. static AddNewFE P3Edge("P3edge",&PkEdgeP3); examples++-load/Element_PkEdge.cpp:319:22: call to AddNewFE_AddNewFE 317. static TypeOfFE_PkEdge PkEdgeP5(5); 318. // a static variable to add the finite element to freefem++ 319. static AddNewFE P1Edge("P1edge",&PkEdgeP1); ^ 320. static AddNewFE P2Edge("P2edge",&PkEdgeP2); 321. static AddNewFE P3Edge("P3edge",&PkEdgeP3); src/fflib/AddNewFE.h:52:34: call to atype 50. { 51. ffassert(tfe); // check 52. Global.New(FEname, Type_Expr(atype() ,new EConstantTypeOfFE(tfe))); ^ 53. } 54. }; 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 <<" = " ;