Even Rouault
|
a54407b393
|
Merge a406ec983d into 4b0c6de760
|
3 years ago |
Eric Haszlakiewicz
|
6ee0a35a20
|
Fix #771/#768 by marking usage() as "noreturn" instead of using "FALLTHRU" in the case statement where it'd called.
|
3 years ago |
An7ar35
|
5d00384e0d
|
missing 'FALLTHRU' added to sort out error messages when using "-Werror=implicit-fallthrough" flag
|
3 years ago |
Eric Haszlakiewicz
|
6ba1adf8ef
|
Include the tests and apps directories at the _end_, since order in the
cmake rules matters, and fix compile warnings now that we're building
those sources with all the regular flags.
|
3 years ago |
Even Rouault
|
a406ec983d
|
Fix warnings of clang -Wshorten-64-to-32
|
3 years ago |
Marc
|
4e9e44e525
|
Fix read past end of buffer
Resolves https://github.com/json-c/json-c/issues/654
|
5 years ago |
Eric Hawicz
|
45b6416652
|
Merge branch 'master' of https://github.com/json-c/json-c
|
5 years ago |
Pierce Lopez
|
090ae4e4d4
|
json_parse demo: fix and use usage() function
|
5 years ago |
Eric Hawicz
|
9b64c3e347
|
Fix printf format issues in apps/json_parse, and actually call the usage() function.
|
5 years ago |
Eric Haszlakiewicz
|
d9981f67dd
|
Extend the CMakeLists.txt in the apps directory to be usable as a standalone build, to link against other versions of json-c.
Tweak json_parse.c slightly to allow it to build against older json-c versions.
|
5 years ago |
Eric Haszlakiewicz
|
55d053118e
|
Add an apps directory, and a json_parse program to parse an input file and report on memory usage.
This is intended to provide a way, during development, to test out the memory
and performance impacts of a change.
|
5 years ago |