[GRASS-dev] lib/form/ and Tcl 8.6 compile problem

Markus Neteler neteler at osgeo.org
Sat Jan 24 13:03:43 EST 2009


On Tue, Jan 20, 2009 at 11:20 AM, Maris Nartiss <maris.gis at gmail.com> wrote:
> Hello,
> there was similar issue reported on Mac. It comes from tcl.h where
> they recommend not to use result:
>  463 typedef struct Tcl_Interp {
>  464     /* TIP #330: Strongly discourage extensions from using the
> string result. */
>  465 #ifdef USE_INTERP_RESULT
>
> I'm not a make process guru to propose solution.

What do you need? I have added TCL_VERSION to
configure which is now set as well.

In IRC, #tcl channel they suggested
 Tcl_GetString(Tcl_GetObjResult(interp))
to me.
?

Code:
http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/lib/form/form.c#L195

Really lost here,
Markus


More information about the grass-dev mailing list