Skip to content

Commit 3403828

Browse files
committed
fix jansson build error
1 parent f095cf0 commit 3403828

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Library | Language | Version | Notes
7272
[FastJson](https://github.com/mikeando/fastjson) | C++ | | Not parsing number per se, so do it as post-process.
7373
[folly](https://github.com/facebook/folly) | C++11 | 2016.08.29.00 | Need installation |
7474
[gason](https://github.com/vivkin/gason) | C++11 |
75-
[jansson](https://github.com/akheron/jansson) | C | v2.7
75+
[jansson](https://github.com/akheron/jansson) | C | v2.14
7676
[jeayeson](https://github.com/jeaye/jeayeson) | C++14
7777
[json-c](https://github.com/json-c/json-c) | C | 0.17
7878
[jsoncons](https://github.com/danielaparker/jsoncons) | C++11 | 0.176.0
@@ -140,10 +140,11 @@ The benchmark program reads `data/data.txt` which contains file names of JSON to
140140
3. Copy premake5 executable to `build/` path (or system path).
141141
4. Run `premake.bat` or `premake.sh` in `build/`
142142
5. On Windows, build the solution at `build/vs2015/`.
143-
6. On other platforms, run GNU `make -f benchmark.make config=release_x32 && make -f nativejson.make config=release_x32` (or `release_x64`) at `build/gmake/`
143+
6. On other platforms, run GNU `make -f benchmark.make config=release_x64 && make -f nativejson.make config=release_x64` (or `release_x64`) at `build/gmake/`
144+
- `make -f jsonstat.make config=release_x64`
144145
7. Optional: run `build/machine.sh` for UNIX or CYGWIN to use CPU info to generate prefix of result filename.
145146
8. Run the `nativejson_release_...` executable is generated at `bin/`
146-
9. The results in CSV format will be written to `result/`.
147+
9. The results in CSV format will be written to `result/`.
147148
10. Run GNU `make` in `result/` to generate results in HTML.
148149

149150
For simplicity, on Linux/OSX users can simply run `make` (or `make CONFIG=release_x32`) at project root to run 4-10 above.

src/cjsonlibs/jansson_all.c.bak renamed to src/cjsonlibs/jansson_all.c

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
#include "jansson/src/strconv.c"
1414
#include "jansson/src/utf.c"
1515
#include "jansson/src/value.c"
16+
#include "jansson/src/dtoa.c"
File renamed without changes.

0 commit comments

Comments
 (0)