From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri May 23 2003 - 15:20:51 CDT

Brad,
  Are you compiling against Tcl 8.4.x???
These sound like the errors you'd get if you tried to
compile the current source against an older version of Tcl.
Let me know..

Thanks,
  John Stone
  vmd_at_ks.uiuc.edu

On Fri, May 23, 2003 at 04:14:27PM -0400, brad noyes wrote:
> hi,
>
> When compiling VMD (from CVS), i get many errors such as
> cannot convert `const char ***' to `char ***'
> and
> cannot convert `int (*) (void *, Tcl_Interp *, int,
> const char **)' to `int (*) (void *, Tcl_Interp *, int, char **)' for
> argument `3' to `Tcl_CreateCommand (Tcl_Interp *, char *, int (*) (void
> *, Tcl_Interp *, int, char **), void *, void (*) (void *))'
>
> both of these errors seem to be a side effect from implicit cast from
> 'char *' to 'const char *' (or vice versa). Are there compile options to
> allow such a cast to be implicit? Or is there plans to make these casts
> explicit? I have seen this with both gcc-2.96 (linux), and gcc-3.2
> (FreeBSD).
>
> I have the changes necessary in my FreeBSD sandbox, so i could submit a
> patch to fix this if you want.
>
> Thanks,
> --brad

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349              
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078