Open
Description
main.cpp
mkdir -p ../../intermediate/release_x64/gmake/x64/release/nativejson
g++ -MMD -MP -D__STDC_FORMAT_MACROS=1 -DNDEBUG -DHAS_BOOST=1 -I../../thirdparty -I../../thirdparty/fastjson/include -I../../thirdparty/jsonbox/include -I../../thirdparty/jsoncpp/include -I../../thirdparty/rapidjson/include -I../../thirdparty/udp-json-parser -I../../thirdparty/include -I../../thirdparty/json-voorhees/include -I../../thirdparty/json-voorhees/src -I../../thirdparty/jsoncons/src -I../../thirdparty/ArduinoJson/include -I../../thirdparty/include/jeayeson/include/dummy -I../../thirdparty/jvar/include -I../../thirdparty/pjson/inc -I../../thirdparty/ULib/include -I../../thirdparty/facil.io/lib/facil/core/types -I../../thirdparty/facil.io/lib/facil/core/types/fiobj -m64 -O3 -Wall -Wextra -march=native -Wall -Wextra -std=c++14 -o "../../intermediate/release_x64/gmake/x64/release/nativejson/main.o" -MF "../../intermediate/release_x64/gmake/x64/release/nativejson/main.d" -c "../../src/main.cpp"
In file included from ../../src/test.h:3:0,
from ../../src/main.cpp:12:
../../src/memorystat.h:141:16: error: ‘std::MemoryStatCalloc’ has not been declared
#define calloc MemoryStatCalloc
^
../../src/memorystat.h:143:14: error: ‘void std::MemoryStatFree(void*)’ conflicts with a previous declaration
#define free MemoryStatFree
^
../../src/memorystat.h:134:13: note: previous declaration ‘void MemoryStatFree(void*)’
extern void MemoryStatFree(void* ptr);
^~~~~~~~~~~~~~
../../src/memorystat.h:140:16: error: ‘void* std::MemoryStatMalloc(std::size_t)’ conflicts with a previous declaration
#define malloc MemoryStatMalloc
^
../../src/memorystat.h:131:14: note: previous declaration ‘void* MemoryStatMalloc(size_t)’
extern void* MemoryStatMalloc(size_t size);
^~~~~~~~~~~~~~~~
../../src/memorystat.h:142:17: error: ‘void* std::MemoryStatRealloc(void*, std::size_t)’ conflicts with a previous declaration
#define realloc MemoryStatRealloc
^
../../src/memorystat.h:133:14: note: previous declaration ‘void* MemoryStatRealloc(void*, size_t)’
extern void* MemoryStatRealloc(void* ptr, size_t size);
^~~~~~~~~~~~~~~~~
make[2]: *** [nativejson.make:175: ../../intermediate/release_x64/gmake/x64/release/nativejson/main.o] Error 1
make[1]: *** [benchmark.make:35: nativejson] Error 2
make[1]: Leaving directory '/home/max/Documents/nativejson-benchmark/build/gmake'
make: *** [Makefile:38: bin/nativejson_release_x64_gmake.a] Error 2```
Metadata
Metadata
Assignees
Labels
No labels