Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2641


Ignore:
Timestamp:
Feb 8, 2009, 11:52:37 PM (15 years ago)
Author:
rgrieder
Message:
  • Update to boost 1.37: System library is now REQUIRED when finding boost even if you have less than boost 1.35. If this is problem, it's going to get quite ugly, but it's possible.
  • Fixed a problem in cpptcl.cc: Boost 1.36 introduced boost::exception which conflicted with std::exception (cpptcl makes use of 'using namespace'…)
  • Fixed two little bugs for tolua bind files and gcc warnings
Location:
code/branches/buildsystem2
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/cmake/BuildConfigGCC.cmake

    r2640 r2641  
    3737COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.0.0" _compare_result)
    3838IF(_compare_result LESS 0)
    39   SET(GCC_NO_SYSTEM_HEADER_SUPPORT)
     39  SET(GCC_NO_SYSTEM_HEADER_SUPPORT TRUE)
    4040ENDIF()
    4141
  • code/branches/buildsystem2/cmake/LibraryConfig.cmake

    r2637 r2641  
    148148  FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem date_time system)
    149149ELSE(MSVC)
    150   FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem)
     150  FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem system)
    151151ENDIF(MSVC)
    152152
  • code/branches/buildsystem2/src/ceguilua/CMakeLists.txt

    r2640 r2641  
    2525  ${CEGUILUA_DIR}/CEGUILuaFunctor.cpp
    2626  ${CEGUILUA_DIR}/required.cpp
    27   ${CEGUILUA_BINARY_DIR}/lua_CEGUI.cpp
     27  ${CEGUILUA_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lua_CEGUI.cpp
    2828
    2929  ${CEGUILUA_DIR}/CEGUILua.h
  • code/branches/buildsystem2/src/core/CMakeLists.txt

    r2640 r2641  
    8080  ${Boost_THREAD_LIBRARY}
    8181  ${Boost_FILESYSTEM_LIBRARY}
    82   ${Boost_SYSTEM_LIBRARY}    # MSVC only
     82  ${Boost_SYSTEM_LIBRARY}
    8383  ${Boost_DATE_TIME_LIBRARY} # MSVC only
    8484  ${LUA_LIBRARIES}
  • code/branches/buildsystem2/src/core/LuaBind.cc

    r2610 r2641  
    3838#include <tolua/tolua++.h>
    3939
    40 #include "core/ToluaBindCore.h"
     40#include "ToluaBindCore.h"
    4141#include "util/String.h"
    4242#include "CoreIncludes.h"
  • code/branches/buildsystem2/src/cpptcl/changes_orxonox.diff

    r2600 r2641  
    1 --- cpptcl.cc   Wed Jan 28 20:56:06 2009
    2 +++ cpptcl.cc   Sat Jan 24 12:52:54 2009
     1--- cpptcl.cc   So Feb  8 23:14:34 2009
     2+++ cpptcl.cc   So Feb  8 23:13:07 2009
     3@@ -320,7 +320,7 @@
     4 
     5           post_process_policies(interp, pol, objv, false);
     6      }
     7-     catch (exception const &e)
     8+     catch (std::exception const &e)
     9      {
     10           Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
     11           return TCL_ERROR;
     12@@ -363,7 +363,7 @@
     13 
     14           post_process_policies(interp, pol, objv, true);
     15      }
     16-     catch (exception const &e)
     17+     catch (std::exception const &e)
     18      {
     19           Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
     20           return TCL_ERROR;
     21@@ -430,7 +430,7 @@
     22                Tcl_GetString(Tcl_GetObjResult(interp)),
     23                object_handler, static_cast<ClientData>(chb), 0);
     24      }
     25-     catch (exception const &e)
     26+     catch (std::exception const &e)
     27      {
     28           Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
     29           return TCL_ERROR;
    330@@ -858,6 +858,18 @@
    431      owner_ = true;
  • code/branches/buildsystem2/src/cpptcl/cpptcl.cc

    r2601 r2641  
    321321          post_process_policies(interp, pol, objv, false);
    322322     }
    323      catch (exception const &e)
     323     catch (std::exception const &e)
    324324     {
    325325          Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
     
    364364          post_process_policies(interp, pol, objv, true);
    365365     }
    366      catch (exception const &e)
     366     catch (std::exception const &e)
    367367     {
    368368          Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
     
    431431               object_handler, static_cast<ClientData>(chb), 0);
    432432     }
    433      catch (exception const &e)
     433     catch (std::exception const &e)
    434434     {
    435435          Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
  • code/branches/buildsystem2/src/orxonox/gui/GUIManager.cc

    r2621 r2641  
    5151#include "core/ConsoleCommand.h"
    5252#include "core/Core.h"
    53 #include "core/ToluaBindCore.h"
     53#include "ToluaBindCore.h"
    5454#include "ToluaBindOrxonox.h"
    5555
  • code/branches/buildsystem2/src/tolua/lua/package.lua

    r2610 r2641  
    129129        local header = gsub(flags.H, '^.-([%w_]*%.[%w_]*)$', '%1')
    130130        local package_lower = string.lower(self.name)
    131         output('#include "'..package_lower..'/'..header..'"\n')
     131        output('#include "'..header..'"\n')
    132132    end
    133133
Note: See TracChangeset for help on using the changeset viewer.