mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
nouveau: Fix clang reserved-user-defined-literal error.
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>
This commit is contained in:
parent
3823b53ff8
commit
d46feee697
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue