Dear Libconfuse developers,
When I try to compile cfgtest.c (http://www.nongnu.org/confuse/manual/cfgtest_8c-example.html
) as a cpp file with g++, I get some
warning messages, for both libconfuse-dev v6.2 and v2.5 on debian.
I am not sure if we are supposed to simply ignore these warning
messages or libconfuse needs to be changed to be fully C++ compatible.
Thank you for providing the community with such a wonderful tool!
Best,
Shawn
---------------------------------------------------------------------------------------------
Command used:
g++ -o test cfgtest.cpp -Wall -lconfuse
Warning messages received:
cfgtest.cpp: In function ‘int main(int, char**)’:
cfgtest.cpp:97: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:97: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:97: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:97: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:97: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:107: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:107: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:107: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:107: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:107: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:107: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:107: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’
cfgtest.cpp:119: warning: deprecated conversion from string constant
to ‘char*’_______________________________________________
Confuse-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/confuse-devel