[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libTcl-1.0b2



On Wed, 30 Jul 1997 12:39:30 PDT, Hemon Bruno wrote: 
>I am trying to install libTcl-1.0b2 (required by ns-2.0a17) but I have
>some problems during the compilation.
>
>Is there any documentation or FAQ on libTcl-1.0b2 ?
>
>
>There is apparently a problem during the c++ compilation. There is what I
>get :
>
>c++ -o Tcl.o -c -O2 -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H
>-DHAVE_LIBTK4_2 -DHAVE_TK_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -DNO_TK
>-I/usr/local/include -I/usr/local/include/tcl7.6
>-I/usr/local/include/tk4.2 Tcl.cc
>Tcl.cc: In method `TclObject::~TclObject()':
>Tcl.cc:239: conflicting types for `class InstVar * p'
>Tcl.cc:233: previous declaration as `class TracedVar * p'
>Tcl.cc: In method `TracedVarTcl::~TracedVarTcl()':
>Tcl.cc:462: `const *' cannot be deleted
>
>Any idea ? 
>(I am using a PC running FreeBSD, my compiler is gcc version 2.6.3)


Unfortunately, libTcl tickles a gcc compiler bug.
It builds successfuly with gcc-2.7.x.
We don't currently have another work-around.

(Thanks for the bug report.  I added the details to the ns-problems
web page to save others trouble.)

   -John Heidemann