|
|
|
|
|
by jll29
582 days ago
|
|
This library is nicely concise, and the code is mostly readable (although there are some non-obvious tricks that could be better documented). The Makefile could need some work: json_test.cpp:360:23: warning: missing terminating '"' character [-Winvalid-pp-token]
{ Json::success, R"({
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
9 warnings and 20 errors generated.
make: *** [json_test.o] Error 1
% c++ --version
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Compiling direclty with c++ --std=c++11 -c json.cpp
works fine, though. |
|