Bug 2949 - GCC compilation issue fixes - empty uninitialized const struct GCC_SURGE
authorSebastian Brannstrom <sebastianb@symbian.org>
Tue, 15 Jun 2010 14:30:57 +0100
branchGCC_SURGE
changeset 26 ea43e3e86079
parent 23 64215a1a17ce
child 32 a0ee3f735f8b
Bug 2949 - GCC compilation issue fixes - empty uninitialized const struct
imagehandlinglib/Src/IHLDebugPrint.h
--- a/imagehandlinglib/Src/IHLDebugPrint.h	Fri Jun 11 16:25:08 2010 +0100
+++ b/imagehandlinglib/Src/IHLDebugPrint.h	Tue Jun 15 14:30:57 2010 +0100
@@ -59,7 +59,7 @@
     /**
      * Macro for defining debug-only literal strings (empty release version)
      */
-    #define IHL_DEBUG_STRING(name, s) const TIHLEmptyDebugString name
+    #define IHL_DEBUG_STRING(name, s) const TIHLEmptyDebugString name = {}
 
     /**
      * Output to debugger output (empty)