* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author Jean Marc Lasgouttes
*
* Full author contact details are available in file CREDITS.
#include "LyX.h"
#include "support/debug.h"
-#include "support/gettext.h"
#include "support/os.h"
#include <iostream>
#include <ios>
#endif
+using namespace std;
+
+
int main(int argc, char * argv[])
{
#ifdef HAVE_IOS
- std::ios_base::sync_with_stdio(false);
+ ios_base::sync_with_stdio(false);
#endif
// To avoid ordering of global object problems with some
// stdlibs we do the initialization here, but still as
// early as possible.
- lyx::lyxerr.setStream(std::cerr);
-
- LYXERR0("acssdc");
-
- lyx::support::os::init(argc, argv);
+ lyx::lyxerr.setStream(cerr);
- // initialize for internationalized version *EK*
- lyx::locale_init();
+ lyx::support::os::init(argc, &argv);
lyx::LyX the_lyx_instance;