diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2016-06-08 00:58:49 -0400 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-06-08 14:58:49 +1000 |
commit | 36229a2693aa6e7bcb8fa471edf1ab05ee79869a (patch) | |
tree | 4a9e197e64f2d1c1a07b2595c828814cb82019a2 /test/checkpoint/test_checkpoint.c | |
parent | 1e30ff33750b5a5885420654f6d39101b6cb8610 (diff) | |
download | mongo-36229a2693aa6e7bcb8fa471edf1ab05ee79869a.tar.gz |
WT-2682 add option to configure WiredTiger with strict compiler flags (#2773)
Add the --enable-strict option that uses our current best guess at the right flags for strict compilation.
While adding the option, expand the set of flags we can compile cleanly with.
Diffstat (limited to 'test/checkpoint/test_checkpoint.c')
-rw-r--r-- | test/checkpoint/test_checkpoint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/checkpoint/test_checkpoint.c b/test/checkpoint/test_checkpoint.c index 307cfd914bd..6293d36f916 100644 --- a/test/checkpoint/test_checkpoint.c +++ b/test/checkpoint/test_checkpoint.c @@ -32,7 +32,8 @@ GLOBAL g; static int handle_error(WT_EVENT_HANDLER *, WT_SESSION *, int, const char *); static int handle_message(WT_EVENT_HANDLER *, WT_SESSION *, const char *); -static void onint(int); +static void onint(int) + WT_GCC_FUNC_DECL_ATTRIBUTE((noreturn)); static int cleanup(void); static int usage(void); static int wt_connect(const char *); |