nouveau: Fix clang reserved-user-defined-literal error.
authorVinson Lee <vlee@freedesktop.org>
Wed, 9 Mar 2016 08:53:02 +0000 (00:53 -0800)
committerVinson Lee <vlee@freedesktop.org>
Thu, 10 Mar 2016 07:00:45 +0000 (23:00 -0800)
  CXX      codegen/nv50_ir.lo
In file included from codegen/nv50_ir.cpp:28:
./nouveau_debug.h:19:30: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
   fprintf(stderr, "%s:%d - "fmt, __FUNCTION__, __LINE__, ##args)
                             ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nouveau_debug.h

index d17df81fed2807505734819858a2c934ca846bf2..546a4ad0af3f79f66662adee6339fbfe0e4cfdd2 100644 (file)
@@ -16,7 +16,7 @@
 #define NOUVEAU_DEBUG 0
 
 #define NOUVEAU_ERR(fmt, args...)                                 \
-   fprintf(stderr, "%s:%d - "fmt, __FUNCTION__, __LINE__, ##args)
+   fprintf(stderr, "%s:%d - " fmt, __FUNCTION__, __LINE__, ##args)
 
 #define NOUVEAU_DBG(ch, args...)           \
    if ((NOUVEAU_DEBUG) & (NOUVEAU_DEBUG_##ch))        \