miloyip/nativejson-benchmark

An error occured when I compiled the benchmark.

Cactusinhand opened this issue · 0 comments

ULibtest.cpp
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/xmmintrin.h:34:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:31,
                 from /usr/include/x86_64-linux-gnu/c++/5/bits/opt_random.h:33,
                 from /usr/include/c++/5/random:50,
                 from /usr/include/c++/5/bits/stl_algo.h:66,
                 from /usr/include/c++/5/algorithm:62,
                 from ../../thirdparty/ULib/include/ulib/container/vector.h:20,
                 from ../../thirdparty/ULib/include/ulib/container/hash_map.h:17,
                 from ../../thirdparty/ULib/include/ulib/json/value.h:17,
                 from ../../src/tests/ULibtest.cpp:16:
/usr/lib/gcc/x86_64-linux-gnu/5/include/mm_malloc.h: In function 'void* _mm_malloc(size_t, size_t)':
/usr/lib/gcc/x86_64-linux-gnu/5/include/mm_malloc.h:42:24: error: call of overloaded 'MemoryStatMalloc(size_t&)' is ambiguous
     return malloc (size);

Has anyone encountered the same problem and how did you solve it?