Commit Graph

13 Commits

Author SHA1 Message Date
David Hows
7116ddeb62 WT-2473 - Add inttypes.h to ex_config_parse 2016-03-14 10:49:43 +11:00
Keith Bostic
c2e2203c8b Revert "WT-2473: MSVC doesn't support PRId64"
This reverts commit 0b2766c1db.
2016-03-11 19:04:42 -05:00
Keith Bostic
0b2766c1db WT-2473: MSVC doesn't support PRId64 2016-03-11 18:10:23 -05:00
Keith Bostic
cc0d34b093 WT-2471: review WiredTiger "int" printf formats 2016-03-11 16:02:41 -05:00
Keith Bostic
344a714c3d Upgrade copyright notices from 2015 to 2016. 2016-01-01 16:37:39 -05:00
Keith Bostic
1f9098871a Copyright notices: add MongoDB, update to 2015. 2015-01-04 14:07:56 -05:00
Keith Bostic
4c63f1e53f Minor shuffling to turn on more clang warnings:
- a few more uninitialized variables
- make variables local to a single file static
- replace use of WT_UNUSED_RET with error checking of the call (the
	macro was using a GCC extension clang doesn't like)

With these changes, clang is mostly silent using the following options:

	-Weverything
	-Wno-cast-align
	-Wno-conversion
	-Wno-covered-switch-default
	-Wno-documentation-unknown-command
	-Wno-format-nonliteral
	-Wno-language-extension-token
	-Wno-missing-noreturn
	-Wno-packed
	-Wno-padded
	-Wno-switch-enum
	-Wno-zero-length-array

Also, minor KNF whitespace cleanups.
2014-09-01 15:03:26 -04:00
Keith Bostic
89ae59259b Lint: primarily make sure no WiredTiger call that returns an error value
ignores that error.
2014-08-23 14:30:52 -04:00
Alex Gorrod
c8adfc4464 Fix example code return value. 2014-02-25 14:39:21 +11:00
Alex Gorrod
0983863e18 Configuration parser API, update documentation and examples. 2014-02-25 13:14:48 +11:00
Alex Gorrod
1678038c69 Add in an example for querying a nested value. 2014-02-25 12:20:50 +11:00
Alex Gorrod
451e24d56a Update the configuration parsing API. Including:
* Don't copy the input string.
* Remove reset and remove complex semantics.
* Rename search back to get.
2014-02-25 11:50:23 +11:00
Alex Gorrod
54b39fc72f Update the configuration parsing API. Not finalized, but a step closer. 2014-02-24 15:38:48 +11:00