From bc50b7e8bb8917baa6ca15fd41caa1179a425885 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Thu, 9 Jun 2011 18:02:59 +0000
Subject: [PATCH] move slightly forward initialization of dictionaries to avoid
 tons of warning when running with statically linked module on OSX.

git-svn-id: http://root.cern.ch/svn/root/trunk@39647 27541ba8-7e3a-0410-8455-c3a389f83636
---
 core/base/src/TApplication.cxx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/base/src/TApplication.cxx b/core/base/src/TApplication.cxx
index 5a1a8fa65a8..16ea4ca6ffb 100644
--- a/core/base/src/TApplication.cxx
+++ b/core/base/src/TApplication.cxx
@@ -175,6 +175,11 @@ TApplication::TApplication(const char *appClassName,
    fAppRemote     = 0;
    ResetBit(kProcessRemotely);
 
+   // Make sure all registered dictionaries have been initialized
+   // and that all types have been loaded
+   gInterpreter->InitializeDictionaries();
+   gInterpreter->UpdateListOfTypes();
+
    // Enable autoloading
    gInterpreter->EnableAutoLoading();
 
@@ -184,11 +189,6 @@ TApplication::TApplication(const char *appClassName,
       InitializeGraphics();
    }
 
-   // Make sure all registered dictionaries have been initialized
-   // and that all types have been loaded
-   gInterpreter->InitializeDictionaries();
-   gInterpreter->UpdateListOfTypes();
-
    // Save current interpreter context
    gInterpreter->SaveContext();
    gInterpreter->SaveGlobalsContext();
-- 
GitLab