summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cvc4_public.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cvc4_public.h b/src/include/cvc4_public.h
index c9aba5952..1e26699ec 100644
--- a/src/include/cvc4_public.h
+++ b/src/include/cvc4_public.h
@@ -71,11 +71,13 @@
# define CVC4_NORETURN __attribute__ ((__noreturn__))
# define CVC4_CONST_FUNCTION __attribute__ ((__const__))
# define CVC4_PURE_FUNCTION __attribute__ ((__pure__))
+# define CVC4_WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__))
#else /* ! __GNUC__ */
# define CVC4_UNUSED
# define CVC4_NORETURN
# define CVC4_CONST_FUNCTION
# define CVC4_PURE_FUNCTION
+# define CVC4_WARN_UNUSED_RESULT
#endif /* __GNUC__ */
#define EXPECT_TRUE(x) __builtin_expect( (x), true )
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback