src/cx/test.h

changeset 814
5f9e07d3dd6c
parent 784
ba5faf85dec6
equal deleted inserted replaced
813:aba6d37b78bd 814:5f9e07d3dd6c
82 * Some compilers use <code>__func__</code> and others use __FUNCTION__. 82 * Some compilers use <code>__func__</code> and others use __FUNCTION__.
83 * We use __FUNCTION__ so we define it for those compilers which use 83 * We use __FUNCTION__ so we define it for those compilers which use
84 * <code>__func__</code>. 84 * <code>__func__</code>.
85 */ 85 */
86 #define __FUNCTION__ __func__ 86 #define __FUNCTION__ __func__
87 #endif
88
89 //
90 #if !defined(__clang__) && __GNUC__ > 3
91 #pragma GCC diagnostic ignored "-Wclobbered"
87 #endif 92 #endif
88 93
89 #ifndef UCX_COMMON_H 94 #ifndef UCX_COMMON_H
90 /** 95 /**
91 * Function pointer compatible with fwrite-like functions. 96 * Function pointer compatible with fwrite-like functions.

mercurial