texmacs-dev
[Top][All Lists]
Advanced

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

[Texmacs-dev] deprecated conversion from string constant to char*


From: Kamaraju S Kusumanchi
Subject: [Texmacs-dev] deprecated conversion from string constant to char*
Date: Sat, 08 Sep 2007 11:49:07 -0400
User-agent: KNode/0.10.5

While trying to compile texmacs 1.0.6.10 on Debian Sid using


$gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured
with: ../src/configure -v 
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr 
--enable-targets=all --disable-werror --enable-checking=release 
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 (Debian 4.2.1-5)


I am getting a lot of warnings such as follows. The program still compiles.
However I think it would be nice if you can patch the cpp code such that
these warnings are not generated in the first place. What do you think?



./Data/Convert/Xml/parsexml.cpp: In member function ‘bool
xml_html_parser::build_valid_child(string, string)’:
./Data/Convert/Xml/parsexml.cpp:579: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:579: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:579: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:583: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:584: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:584: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:584: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:585: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:586: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:586: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:587: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:587: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:588: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:588: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:588: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:589: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:589: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:589: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:590: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:591: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:591: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:592: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:592: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:592: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:593: warning: deprecated conversion from
string constant to ‘char*’
./Data/Convert/Xml/parsexml.cpp:594: warning: deprecated conversion from
string constant to ‘char*’



thanks
raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]