Red Hat Bugzilla – Bug 902561
build fails with tcl 8.6: error: ‘Tcl_Interp’ has no member named ‘result’
Last modified: 2014-05-27 04:44:05 EDT
Description of problem:
Building newt 0.52.14 fails with tcl 8.6.0 with the message "error: ‘Tcl_Interp’ has no member named ‘result’" and other similar errors.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Tcl 8.6
2. Try to build newt 0.52.14 against Tcl 8.6
error: ‘Tcl_Interp’ has no member named ‘result’
Workaround: add "-DUSE_INTERP_RESULT" to CPPFLAGS.
Solution: stop using fields inside Tcl_Interp; they are deprecated and the above workaround will be removed in a future version of Tcl.
MacPorts bug report: https://trac.macports.org/ticket/37725
Your issue tracker required me to fill in the Version field, so I left it at its default, although I have no idea what version of Redhat Linux, if any, contains this version of newt; I do not use Redhat Linux.
Thanks for the report.
In git, the CPPFLAGS now have -DUSE_INTERP_RESULT when building with tcl support. Patches removing the use of the result field are welcome.