swarm compilation error

Ryan Schmidt ryandesign at macports.org
Wed Sep 11 00:51:21 PDT 2013


On Sep 11, 2013, at 02:24, Degang Wu wrote:

> :info:build TclInterp.m:271: error: 'Tcl_Interp' has no member named 'result'


This is one of the errors you see when a program written for older Tcl (< 8.6 I think) is used with newer Tcl (≥ 8.6 I think). Tcl_Interp became an opaque structure that isn't supposed to be accessed directly anymore. As a stopgap, "-DUSE_INTERP_RESULT" can be added to CPPFLAGS, but the software ultimately needs to be rewritten by its developers to no longer access fields of Tcl_Interp directly.

I've fixed this for now:

https://trac.macports.org/changeset/110956

However in the future please file bug reports in the issue tracker.




More information about the macports-users mailing list