Issue in installing FlatBuffers
Opened this issue · 0 comments
While running make command facing this issue
/home/bhuvan.gupta/flatbuffers/tests/test.cpp:89:41: error: expected primary-expression before ‘)’ token
TEST_EQ(__is_trivially_copyable(Vec3), true);
^
/home/bhuvan.gupta/flatbuffers/tests/test_assert.h:19:34: note: in definition of macro ‘TEST_EQ’
#define TEST_EQ(exp, val) TestEq(exp, val, "'" #exp "' != '" #val "'", FILE, LINE, "")
^
/home/bhuvan.gupta/flatbuffers/tests/test.cpp:89:41: error: ‘__is_trivially_copyable’ was not declared in this scope
TEST_EQ(__is_trivially_copyable(Vec3), true);
^
/home/bhuvan.gupta/flatbuffers/tests/test_assert.h:19:34: note: in definition of macro ‘TEST_EQ’
#define TEST_EQ(exp, val) TestEq(exp, val, "'" #exp "' != '" #val "'", FILE, LINE, "")
^
make[2]: *** [CMakeFiles/flattests.dir/tests/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/flattests.dir/all] Error 2
make: *** [all] Error 2