Reputation: 9788
The FlatBuffers project requires a C++11 compiler to build. But what are the version requirements for the C++ header file generated by flatc
?
Upvotes: 2
Views: 1275
Reputation: 11
I am using G++ 4.8.1. You just need to set -std=c++11 to get the features you need.
Upvotes: 0
Reputation: 6074
They are no different. The generated headers include flatbuffers.h
, which depends on C++11.
That said, the it doesn't require the full C++11 feature set, it will build on compilers as old as Visual Studio 2010 and GCC 4.8.2.
Upvotes: 3