Commit Graph

22 Commits

Author SHA1 Message Date
3d6ae11340 Make cJSON C++ compatible 2016-12-28 12:33:20 +01:00
89edfb6741 Warn if cast removes a type qualifier like const. 2016-12-08 13:21:30 +01:00
68196f5b14 Release version 1.1.0 2016-12-06 08:56:23 +07:00
bf17703012 Merge branch 'print_preallocated' 2016-11-28 23:08:25 +07:00
602c241a0b fixed "make test" on Mac (clang) 2016-11-28 22:53:36 +07:00
5cfda2292f Warn if compiler optimizes based on asumption signed overflow does not occur.
This switch is only active when making a release build.
2016-11-28 09:12:17 +01:00
29b6643bab Warn about missing prototypes.
This switch warns about missing prototypes. It does not warn if
functions are declared static. So this switch encourages the usage of
static whenever possible. This enables the compiler to perform inlining.
2016-11-27 18:22:12 +01:00
bea0be48b6 Perform additional format checks. 2016-11-27 18:20:41 +01:00
91d11cd050 Warn if casting a pointer increases alignment of target. 2016-11-27 18:19:52 +01:00
9591ecddbe Warn about variables initialized by themselves. 2016-11-27 18:19:07 +01:00
1568015de6 Warn about shadowing variables and functions. 2016-11-27 18:18:00 +01:00
4703f01cf4 Make/CMake: Fix use of compiler flags
CMake: Option was not enabled by default as intended.
Makefile: Flags were not passed when building the tests
2016-11-26 22:09:20 +07:00
d0a9f46888 Release v1.0.2 2016-11-25 08:22:41 +07:00
11fd27ade7 Change version to 1.0.1 2016-11-20 01:08:54 +07:00
706636fb20 Replace -ansi with -std=c89 for better compatibility 2016-11-15 20:03:11 +07:00
778bcd1a62 Makefile: Redo with library versioning
And remove special handling of SunOs
2016-11-14 22:52:44 +07:00
85aa59be38 Use $(AR) environment variable with libcjson.a
Allow for alternative archive tool when using make.
2016-10-10 13:13:06 -07:00
5daac864a3 Added uninstall rule to Makefile 2016-02-11 18:26:54 +05:30
1a20eb8494 Fixed linux compile to support fpclassify (issue #18) 2015-10-05 13:46:14 -04:00
a3eafd540d Fixed issue withh ansi (single-line comments) and updated Makefile for compiling dynamic and static lib. 2015-01-30 12:06:14 -02:00
b051ed05d7 updated Makefile, README and gitignore 2011-08-22 00:52:03 -04:00
ebba183f1e updated README markdown, gitignore, added the Makefile and fixed weird comments in test.c 2011-08-22 00:47:25 -04:00