From efdea080a27d51b522f2414873e5c112201b71e6 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 18 Mar 2013 20:47:29 +0100 Subject: declare all global inter-dependant objects in main.cpp and get rid of init_priority attribute * we cannot use weak symbols in MinGW, so we avoid init_priority for symbol initialization by compiling the empty definitions into sciteco-minimal but the real ones into sciteco (had to add new file symbols-minimal.cpp) * this fixes compilation/linking on LLVM Clang AND Dragonegg since their init_priority attribute is broken! this will likely be fixed in the near future but broken versions will be around for some time --- src/interface-ncurses.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/interface-ncurses.cpp') diff --git a/src/interface-ncurses.cpp b/src/interface-ncurses.cpp index 639c594..bbde5de 100644 --- a/src/interface-ncurses.cpp +++ b/src/interface-ncurses.cpp @@ -40,8 +40,6 @@ #include "interface.h" #include "interface-ncurses.h" -InterfaceNCurses interface INIT_PRIO(PRIO_INTERFACE); - extern "C" { static void scintilla_notify(Scintilla *sci, int idFrom, void *notify, void *user_data); -- cgit v1.2.3