<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br><br>Sent from my iPhone</div><div><br>On Nov 10, 2013, at 8:20 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 10, 2013 at 7:58 PM, Pete Cooper <span dir="ltr"><<a href="mailto:peter_cooper@apple.com" target="_blank" class="cremed">peter_cooper@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1bi" style="overflow:hidden">+/// \brief Does the compiler support generalized initializers (using braced<br>

+/// lists and std::initializer_list).<br>
+#if (__has_feature(cxx_generalized_initializers)   \<br>
+|| defined(__GXX_EXPERIMENTAL_CXX0X__))</div></blockquote></div><br>There are a lot of versions of GCC which support some of -std=c++0x, define this macro, and don't support initializer lists. </div></div></div></blockquote>I wasn't aware of patchy gcc support for this. Thanks for catching this. I've fixed it in r194365.<br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra">How thoroughly have you tested this?</div>
</div>
</div></blockquote>Only tested with clang on Mac OS X. I don't have gcc. I'll try be more careful next time with my ifdefs.<div><br></div><div>Thanks</div><div>Pete</div></body></html>