[Orxonox-commit 849] r3361 - branches/resource/src/core

rgrieder at orxonox.net rgrieder at orxonox.net
Tue Jul 28 17:17:49 CEST 2009


Author: rgrieder
Date: 2009-07-28 17:17:49 +0200 (Tue, 28 Jul 2009)
New Revision: 3361

Modified:
   branches/resource/src/core/TclThreadManager.cc
   branches/resource/src/core/TclThreadManager.h
Log:
Two little build fixes.

Modified: branches/resource/src/core/TclThreadManager.cc
===================================================================
--- branches/resource/src/core/TclThreadManager.cc	2009-07-28 15:04:38 UTC (rev 3360)
+++ branches/resource/src/core/TclThreadManager.cc	2009-07-28 15:17:49 UTC (rev 3361)
@@ -623,7 +623,7 @@
         TclThreadManager::debug("TclThread_source: " + file);
 
         // Prepare the command-line arguments
-        int argc = 2;
+        const int argc = 2;
         char* argv[argc];
         argv[0] = "tclthread";
         argv[1] = const_cast<char*>(file.c_str());

Modified: branches/resource/src/core/TclThreadManager.h
===================================================================
--- branches/resource/src/core/TclThreadManager.h	2009-07-28 15:04:38 UTC (rev 3360)
+++ branches/resource/src/core/TclThreadManager.h	2009-07-28 15:17:49 UTC (rev 3361)
@@ -38,7 +38,7 @@
 
 #include "OrxonoxClass.h"
 
-class Tcl_Interp;
+struct Tcl_Interp;
 
 namespace orxonox
 {




More information about the Orxonox-commit mailing list