[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Confuse-devel] Warning messages when compiling with g++
From: |
yeshao |
Subject: |
[Confuse-devel] Warning messages when compiling with g++ |
Date: |
Sat, 27 Jun 2009 18:06:54 -0700 (PDT) |
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*’
signature.asc
Description: OpenPGP digital signature
- [Confuse-devel] Warning messages when compiling with g++,
yeshao <=