title: How to specify c++ 14/17 with bazel.rc (tool specific to using GCC /G++, project not open to other tool chains)
body: <p>Within my bazel.rc file for the C++ Bazel build options, I have specified:</p>
  
  <p>'build --cxxopt="-std=c++1y"'</p>
  
  <p>When I try to change to build --cxxopt="-std=c++14", bazel Throws error of : </p>
  
  <p>''build --cxxopt="-std=c++14"'  is not an option'</p>
  
  <p>, with a cursor below  4 in c++14. If I change the 4 to y (c++1y), it  compiles with no problem. I tried adding 'std:make_unique' in my code (c++14 addition) , and it clearly does not compile (make _unique is not part of std) which is assume is complaining that c++14 is not set as the standard, hence no make_unique for me.</p>
  
  <p>What is the latest supported version of C++ in bazel? More specifically, how do I enable C++14 / C++17 (and even C++2x) for Bazel build, it those are supported? Thanks!</p>
  
  <p>NOTE: this is not the same as  <a href="https://stackoverflow.com/questions/40260242/how-to-set-c-standard-version-when-build-with-bazel">How to set C++ standard version when build with Bazel?</a>?. (I am not asking about cpp 11 and I am asking about a very specific toolchain -- GCC/g++) I am not using any of the tools suggested by that thread. I am using GCC / g++ and am restricted in not being able to use the tools suggested by the answer in the previous question, I've RTFMd and googled. Thanks in advance. </p>