On Mon, 24 Sep 2012, Marcin Cieslak wrote:

> For now we need to give up on this warning:
>
> warning: deprecated conversion from string constant to 'char*'
>
> Until both C and C++ code and APIs defined here
> are fully const correct we will run into this
> warning in the C++ code.


A couple of things - Peter was not fond of this commit since he thinks
it wise that we be reminded of these warnings so they will actually be
fixed someday.  That said, who knows how long this will take, or
exactly what is involved (openmotif fixes to go along?), etc.

Also, this is a gcc specific option - If we do want to do this (I invite
discussion/opinions from others here), we will want to protect these with
'HasGcc2ForCplusplus' checks.

For myself, I'm all for shutting up compiler warnings, but not if
there is the possibility of hiding real bugs.


-- 
Jon Trulson

The Higgs Field is what make atoms matter.
                 -- Tom L.



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to