mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 10:03:51 +01:00
Added cstring for memcpy(), as suggested by sebastien.vincent@turnserver.org . This allows gcc-4 to compile. Removed doxygen from SConstruct, since it is now broken; I have been unable to get it to work with either scons 0.97 or scons 2.1; hopefully someone else can get that working again.
This commit is contained in:
parent
230b1f675f
commit
8f5ddcfa8d
@ -250,6 +250,6 @@ env.Alias( 'src-dist', srcdist_cmd )
|
|||||||
|
|
||||||
buildProjectInDirectory( 'src/jsontestrunner' )
|
buildProjectInDirectory( 'src/jsontestrunner' )
|
||||||
buildProjectInDirectory( 'src/lib_json' )
|
buildProjectInDirectory( 'src/lib_json' )
|
||||||
buildProjectInDirectory( 'doc' )
|
#buildProjectInDirectory( 'doc' ) # THIS IS BROKEN.
|
||||||
#print env.Dump()
|
#print env.Dump()
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
#include <json/reader.h>
|
#include <json/reader.h>
|
||||||
#include <json/value.h>
|
#include <json/value.h>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
#include <assert.h>
|
#include <cassert>
|
||||||
|
#include <cstring>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
@ -3,11 +3,12 @@
|
|||||||
#include <json/writer.h>
|
#include <json/writer.h>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include "assert.h"
|
#include <cstring>
|
||||||
|
#include <cassert>
|
||||||
#ifdef JSON_USE_CPPTL
|
#ifdef JSON_USE_CPPTL
|
||||||
# include <cpptl/conststring.h>
|
# include <cpptl/conststring.h>
|
||||||
#endif
|
#endif
|
||||||
#include <stddef.h> // size_t
|
#include <cstddef> // size_t
|
||||||
#ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
|
#ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
|
||||||
# include "json_batchallocator.h"
|
# include "json_batchallocator.h"
|
||||||
#endif // #ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
|
#endif // #ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
|
||||||
|
Loading…
Reference in New Issue
Block a user