This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: host tools and tcl8.4


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]