vmin/vmax vs. flexelint

parent 7e5213f9
......@@ -241,6 +241,8 @@
///////////////////////////////////////////////////////////////////////
// <vdef.h>
-emacro(527, NEEDLESS) // unreachable code
-emacro(160, _vtake) // The sequence '( {' is non standard
+rw( __typeof__ )
///////////////////////////////////////////////////////////////////////
// <libvarnishapi>
......
......@@ -180,6 +180,10 @@ int __llvm_gcov_flush(void);
# define VUNIQ_NAME(base) VCOMBINE(base, __LINE__, 0)
#endif
#ifdef _lint
#define typeof(x) __typeof__(x)
#endif
/* ref: https://gcc.gnu.org/onlinedocs/gcc/Typeof.html */
#define _vtake(op, ta, tb, a, b, _va, _vb) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment