Fix GCCE compilation errors in UREL builds - add to bug 3106 GCC_SURGE
authorWilliam Roberts <williamr@symbian.org>
Tue, 27 Jul 2010 14:08:00 +0100
branchGCC_SURGE
changeset 42 63d7c3197545
parent 39 3d9988ee47f5
Fix GCCE compilation errors in UREL builds - add to bug 3106
clfwrapper/CommonInc/MGDebugPrint.h
clfwrapper/CommonInc/MGTracePrint.h
--- a/clfwrapper/CommonInc/MGDebugPrint.h	Thu Jul 22 16:38:01 2010 +0100
+++ b/clfwrapper/CommonInc/MGDebugPrint.h	Tue Jul 27 14:08:00 2010 +0100
@@ -65,7 +65,7 @@
     /**
      * Macro for defining debug-only literal strings (empty release version)
      */
-    #define MG_DEBUG_STRING(name, s) const TMGEmptyDebugString name
+    #define MG_DEBUG_STRING(name, s) const TMGEmptyDebugString name = {}
 
     /**
      * Output to debugger output (empty)
--- a/clfwrapper/CommonInc/MGTracePrint.h	Thu Jul 22 16:38:01 2010 +0100
+++ b/clfwrapper/CommonInc/MGTracePrint.h	Tue Jul 27 14:08:00 2010 +0100
@@ -65,7 +65,7 @@
     /**
      * Macro for defining debug-only literal strings (empty release version)
      */
-    #define MG_TRACE_STRING(name, s) const TMGEmptyTraceString name
+    #define MG_TRACE_STRING(name, s) const TMGEmptyTraceString name = {}
 
     /**
      * Output to debugger output (empty)