Ted Lyngmo
ef22ca1732
Fix -Werror=effc++ errors with GNU 6.3.1
...
Fix "'MyHandler::type’ should be initialized in the member
initialization list [-Werror=effc++]" errors.
https://github.com/miloyip/rapidjson/issues/874
2017-03-08 09:47:38 +01:00
Ted Lyngmo
c64f378f16
Fix -Werror=effc++ errors with GNU 6.3.1
...
Fix "'MyHandler::type’ should be initialized in the member
initialization list [-Werror=effc++]" errors.
https://github.com/miloyip/rapidjson/issues/874
2017-03-08 06:25:41 +01:00
StilesCrisis
a11ec69796
More C++98 fixes
2017-02-04 01:18:46 -08:00
StilesCrisis
6288d95d1e
SimplePullReader C++98 support
...
std::to_string can’t be used because it requires C++11.
2017-02-04 01:07:00 -08:00
StilesCrisis
4232e407f4
Clean up example code
2017-02-04 00:47:43 -08:00
StilesCrisis
d84d5fe055
Add example SimplePullHandler code
...
Example code to demonstrate how the token-pulling reader can be used.
2017-02-04 00:41:34 -08:00
Zhihao Yuan
3cc77d5d63
Treat signed-unsigned conversions as errors.
2017-01-18 18:09:18 -06:00
Milo Yip
0f9dbe0a9c
Defer thread creation in parsebypart example
2016-08-29 10:17:57 +08:00
Milo Yip
2e66339137
Disable parsebyparts example for clang
2016-06-13 09:54:02 +08:00
Milo Yip
00ed0a5f91
Fix gcc warning
2016-04-23 20:54:06 +08:00
Milo Yip
b010f388d1
Change FilterKeyHandler from struct to class
...
Also disable copy constructor/assignment operator
2016-04-23 20:11:05 +08:00
Milo Yip
05b2ed7532
Add filterkey and filterkeydom examples
2016-04-23 16:02:40 +08:00
Milo Yip
aae2fbfc99
Try to fix cmake CMP0054 warning
2016-04-21 23:12:31 +08:00
Milo Yip
c843a2655b
Try to fix all /W4 warnings in VC2015
2016-04-04 15:01:34 +08:00
Milo Yip
1623ef2a96
Update simplewriter example with Writer::Key()
2016-03-08 14:35:10 +08:00
Chris Lundquist
d175915c55
[simplewriter.cpp] show generated output
...
This makes it painfully obvious that writer expects subsequent key/value pairs.
2016-03-05 18:14:20 -08:00
Milo Yip
facb432f91
Try another fix
2016-03-04 16:37:04 +08:00
Milo Yip
d60abc914c
Fix example clang link flags
2016-03-04 14:09:56 +08:00
Milo Yip
a62777487d
Normalize line endings but not JSON files
2016-03-04 11:52:18 +08:00
Milo Yip
7fb84d304b
Revert "Normalize all the line endings"
...
This reverts commit 6047e3ce128954ec594e9a893ef2125c9f9b61c7.
2016-03-04 11:51:30 +08:00
Milo Yip
6047e3ce12
Normalize all the line endings
2016-03-04 09:46:11 +08:00
Sergey Kosarevsky
5642a81f24
Added JsonxWriter::RawNumber()
2016-02-29 20:21:28 +01:00
Sergey Kosarevsky
a9c79db580
Added CapitalizeFilter::RawNumber()
2016-02-29 18:48:15 +01:00
Sergey Kosarevsky
9748595960
Added MyHandler::RawNumber()
2016-02-29 18:25:14 +01:00
octal
d53d71b874
example: parsebyparts now compiles with g++-4.9
2016-02-27 19:59:29 +01:00
Milo Yip
c62a19cfbd
Remove CMakeLists license info
2016-02-28 01:22:15 +08:00
Milo Yip
5f13820899
Another try
2016-02-27 23:41:38 +08:00
Milo Yip
52512b7c12
Try to set libc++ in cmake
2016-02-27 22:56:23 +08:00
Milo Yip
f1387ef879
Rollback stdlib flag
2016-02-22 10:02:01 +08:00
Milo Yip
dbe8d115b1
Rename variable in parsebyparts
2016-02-22 09:34:23 +08:00
Milo Yip
24d0ebd8fb
Fix compilation problem of parsebyparts
2016-02-22 09:33:41 +08:00
Milo Yip
70cad1901a
Add parse-by-parts example
...
Fix #527
2016-02-21 17:23:23 +08:00
Milo Yip
5af344b9d9
Add comment for -D__STDC_FORMAT_MACROS
2016-02-09 01:27:22 +08:00
Milo Yip
b5d939b71b
Fix a gcc warning
2016-02-09 01:09:43 +08:00
Milo Yip
c53a836a3c
Try fixing 64-bit printf macro
2016-02-09 00:53:49 +08:00
Milo Yip
9f1dcef6b1
Add jsonx example
2016-02-09 00:09:39 +08:00
Milo Yip
28e6a40fc6
Change indentation to space
2016-01-31 13:44:49 +08:00
Milo Yip
89106a13c6
Add schema validator example
2016-01-29 15:24:23 +08:00
Milo Yip
a7490404ba
Try to fix a clang missing assignment warning
2016-01-23 15:38:01 +08:00
Milo Yip
a6eb15d274
Fix warnings in clang for C++11
2016-01-23 14:37:15 +08:00
Milo Yip
9ce381b801
Try to fix clang and gcc warnings problems again
2015-12-18 19:15:51 +08:00
Milo Yip
74c8dcfd57
Fix clang -Weverything
2015-12-18 18:34:04 +08:00
Ziyang LI
4569752903
added missing fields of CMakeList.txt
...
this fixed cmake error for me
2015-08-10 18:11:25 +08:00
miloyip
67be9ed2cb
Remove depreciated FileStream
2015-04-14 11:08:47 +08:00
Milo Yip
25e408dbe5
Typo
2015-04-03 12:58:23 +08:00
Milo Yip
f5b021d7cb
Merge pull request #279 from pah/fix/pedantic
...
Fixes for GCC with -pedantic
2015-04-02 09:44:25 +08:00
Philipp A. Hartmann
3b8158086d
messagereader.cpp: drop trailing comma
2015-04-01 22:39:01 +02:00
Philipp A. Hartmann
953cda14f7
tutorial.cpp: fix insitu parsing ( closes #273 )
...
The insitu parsing example in the tutorial is using a local char
buffer inside a nested scope. After leaving the scope, the
resulting Document object still references this (now invalid)
memory locations.
Some compilers reuse this space on the stack for other local
variables later in the function, corrupting the original document.
Drop the local scope to extend the lifetime of the buffer.
2015-03-31 20:55:00 +02:00
Andrii Senkovych
122170b362
Fix definitions for VS compiler
2015-02-23 20:21:07 +02:00
Andrii Senkovych
3ae2a29986
Backport compiler options from premake configuration. Refs #240 .
2015-02-19 18:25:40 +02:00