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.
---
 cde/config/cf/Imake.tmpl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cde/config/cf/Imake.tmpl b/cde/config/cf/Imake.tmpl
index fc8b419..d9ae634 100644
--- a/cde/config/cf/Imake.tmpl
+++ b/cde/config/cf/Imake.tmpl
@@ -433,7 +433,7 @@ XCOMM the platform-specific parameters - edit site.def to 
change
 #define DefaultCCOptions /* floating point, etc. */
 #endif
 #ifndef DefaultCplusplusOptions
-#define DefaultCplusplusOptions /* floating point, etc. */
+#define DefaultCplusplusOptions -Wno-write-strings
 #endif
 #ifndef NoRConst
 #define NoRConst NO /* YES if const for structs of funcs is bad */
@@ -545,7 +545,7 @@ XCOMM the platform-specific parameters - edit site.def to 
change
 #define CplusplusDependIncludes /**/
 #endif
 #ifndef CplusplusOptions
-#define CplusplusOptions /**/
+#define CplusplusOptions -Wno-write-strings
 #endif
 #ifndef CplusplusSpecialOptions
 #define CplusplusSpecialOptions /**/
-- 
1.7.9.2


------------------------------------------------------------------------------
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