You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am new at compiling open source libraries so maybe I am doing something stupid! I ran into this build error attempting to build the flatc binary:
[ 95%] Building CXX object CMakeFiles/flattests.dir/tests/test.cpp.o
In file included from /devsandbox/enrgy/kkolze/compiled/flatbuffers-master/tests/test.cpp:19:0:
/devsandbox/enrgy/kkolze/compiled/flatbuffers-master/include/flatbuffers/minireflect.h: In constructor 'flatbuffers::ToStringVisitor::ToStringVisitor(std::string, bool, std::string, bool)':
/devsandbox/enrgy/kkolze/compiled/flatbuffers-master/include/flatbuffers/minireflect.h:293:7: error: declaration of 'vector_delimited' shadows a member of 'flatbuffers::ToStringVisitor' [-Werror=shadow]
: d(delimiter),
^
/devsandbox/enrgy/kkolze/compiled/flatbuffers-master/include/flatbuffers/minireflect.h:290:8: note: shadowed declaration is here
bool vector_delimited;
^
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/flattests.dir/tests/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/flattests.dir/all] Error 2
make: *** [all] Error 2
Hi, I am new at compiling open source libraries so maybe I am doing something stupid! I ran into this build error attempting to build the flatc binary:
Attempted to follow: https://google.github.io/flatbuffers/flatbuffers_guide_building.html and ran:
Full system information:
Thanks ahead of time for the help!
The text was updated successfully, but these errors were encountered: