12eabf3e3c
PR: 216739 Submitted by: ohartmann@walstatt.org Approved by: maintainer timeout
15 lines
469 B
C
15 lines
469 B
C
--- ocl_icd_debug.h.orig 2016-04-24 12:11:57 UTC
|
|
+++ ocl_icd_debug.h
|
|
@@ -61,9 +61,9 @@ extern int debug_ocl_icd_mask;
|
|
return ret; \
|
|
} while(0)
|
|
# define RETURN_STR(val) do { \
|
|
- char* _ret=(char*)(val); \
|
|
- debug(D_TRACE, "return: %s", _ret); \
|
|
- return _ret; \
|
|
+ char* _return_str=(char*)(val); \
|
|
+ debug(D_TRACE, "return: %s", _return_str); \
|
|
+ return _return_str; \
|
|
} while(0)
|
|
# ifdef DEBUG_OCL_ICD_PROVIDE_DUMP_FIELD
|
|
# pragma GCC diagnostic push
|