Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/cpptcl/changes_orxonox.diff @ 6670

Last change on this file since 6670 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 961 bytes
RevLine 
[2705]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;
Note: See TracBrowser for help on using the repository browser.