Do not force C++14 (#10773)
* Do not force C++14 Rather than forcing protobuf to always compile in exactly C++14, overriding all settings in .bazelrc and environment variables and commandline options, instead guard the codebase against versions that are too low. This allows for compiling in higher C++ standards, such as those that have std::string_view instead of absl::string_view without generating objects that are incompatible. * Do not guard headers against low C++ versions The code will break below C++14 anyway * Attempt a different >=C++14 guard condition * Steal the >=C++14 guard condition code from absl * Special case C++14 guard for GCC < 5.0pull/10786/head
parent
fd0b1a5705
commit
7d1362c7ba
2 changed files with 18 additions and 2 deletions
Loading…
Reference in new issue