Bug 2941 - GCC compilation issues with debug macro string expansion fixed GCC_SURGE
authorSebastian Brannstrom <sebastianb@symbian.org>
Tue, 15 Jun 2010 15:48:10 +0100
branchGCC_SURGE
changeset 37 037d3521c147
parent 34 e4353a538c0d
child 38 c9962d0368d9
Bug 2941 - GCC compilation issues with debug macro string expansion fixed
inc/glxlog.h
--- a/inc/glxlog.h	Fri Jun 11 16:24:09 2010 +0100
+++ b/inc/glxlog.h	Tue Jun 15 15:48:10 2010 +0100
@@ -70,7 +70,7 @@
     #else
         // put full file paths off for __FILE__ macro to make the log entries shorter
         #pragma fullpath_file off*/
-        #define GLX_DEBUG_STR( cat, str ) __FILE__ "(%d) : " ##cat " : " ##str
+        #define GLX_DEBUG_STR( cat, str ) __FILE__ "(%d) : " cat " : " str
 //    #endif
 
     /**