+ fs::path::default_name_check(fs::no_check);
+
+ // To avoid ordering of global object problems with some
+ // stdlibs we do the initialization here, but still as
+ // early as possible.
+ lyx::lyxerr.rdbuf(std::cerr.rdbuf());
+
+ lyx::support::os::init(argc, argv);
+
+ // initialize for internationalized version *EK*
+ lyx::locale_init();
+
+ lyx::LyX the_lyx_instance;