<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">> As LLVM_CXXFLAGS / `llvm-config --cxxflags` already includes std=c++11<br>
<br>
</div></div>Yes, I saw that and considered going that direction, but wasn’t sure if we should rely on llvm setting the language version required.<br></blockquote><div><br>Shouldn't you do both? Use LLVM_CXXFLAGS since swr is C++ code including and using the LLVM C++ API.  Add stc=c++11 since swr itself is using C++ 11 features, regardless of llvm's requirements.  This way, each piece is defining it's own requirements.  Just relying on LLVM_CXXFLGS is essentially assuming that LLVM knows how swr needs to be built.  :-/ .  The end result may be a duplicate std=c++11 entry but it's really more coincidence.  LLVM could decide that they want to abandon C++11 and not use it (I know, extremely unlikely) but swr would still need it regardless.<br></div></div></div></div>