This patch is my first time commit for sourceforge.
When the how commit is wrong, I'm sorry.
This patch solves compile error.
[ Work environment ]
FreeBsd : 9.0 (i386)
compiler1 : FreeBSD clang version 3.0 (branches/release_30 142614) 20111021
compiler2 : gcc version 4.2.1 20070831 patched [FreeBSD]
C++/tcl version : cpptcl-1.1.3
Tcl version : 8.5
[ Fix summary ]
Fix file : cpptcl.cc
1. Not enough qualified( remove compile error )
Same fix for few place.
*Origin*
>> catch (exception const &e)
*Fix*
>> catch (std::exception const &e)
2. Add cast ( remove warnings )
Same fix for few place.
(I think this fix is not smart.
But , i don't know what to fix this other way.)
*Origin*
>> Tcl_SetResult(interp, "Unknown error.", TCL_STATIC);
*Fix*
>> Tcl_SetResult(interp, const_cast<char*>("Unknown error."), TCL_STATIC);
[About patch]
This patch was generated by follow commands.
cpptcl.cc_org : File was included in cpptcl-1.1.3.zip
cpptcl.cc : Fixed.
diff -ua cpptcl.cc_org cpptcl.cc > cpptcl.patch
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
patch