[ECOS] host tools and tcl8.4

David N. Welton davidw@dedasys.com
Fri Sep 20 15:33:00 GMT 2002


Bart Veer <bartv@ecoscentric.com> writes:

>     Andrew> /export/home/lunn/ecos/host/libcdl/interp.cxx: In method `int CdlInterpreterBody::eval(basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >, string &)':
>     Andrew> /export/home/lunn/ecos/host/libcdl/interp.cxx:690:
>     Andrew> initialization to `char *' from `const char *' discards
>     Andrew> qualifiers
> 
> This one (and similar ones) are harmless. In some places, when
> passed a char* the Tcl library will modify the string in place but
> restore it before returning. So the string data is not quite const,
> but close enough for the needs of libcdl.

8.4 does use 'const' in many places now:

http://wiki.tcl.tk/tcl/3669

Ciao,
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list