Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tDOM doesnt compile

Closed / Invalidc1bd7b971278b482dd1f32ac4d4a4bfa324764e0Created 10 years agoUpdated 10 years ago
Descriptionplain2016-08-05 06:10:05
When I try to compile tDOM, I get this error:
./generic/tcldom.c: In function 'tcldom_EvalLocked':
./generic/tcldom.c:5937:47: error: 'Tcl_Interp' has no member named 'errorLine'
                 Tcl_GetString(objv[1]), interp->errorLine);
anonymousplain2016-08-05 15:27:17
Wiki.tcl.tk/22108
dkfwiki2016-08-07 12:32:07

If you have no other alternative, define USE_INTERP_ERRORLINE to reenable the "missing" field. It should come with a warning that can't be disabled, because Tcl_GetErrorLine(interp) is the official way to read that information now, but there's a migration path available.

And for goodness' sake, file a bug against tDOM about this. Though I can tell from reading the sources that it's actually already fixed; maybe it'll encourage someone to do a release...

Log in (anonymous is fine) to add a comment.