<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 2, 2013 at 4:32 PM, Jon Ashburn <span dir="ltr"><<a href="mailto:jon@lunarg.com" target="_blank">jon@lunarg.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am working on Piglit tests for arb_texture_view.  I was considering using C++11 features  in STL  (e.g. unordered_set).  Any reason not to use these newer  STL features  if they are supported in the newer versions of g++ as found on recent Ubuntu distributions? In particular,<br>

wondering if compilers on other platforms  which Piglit might support<br>
have reasonably thorough C++11 support?<br>
<br>
For GNU compiler C++11 features require -std=c++11 or -std=gnu++11 compiler options.<br>
<br>
I can always fall back to implementing test using non-C++11 features.<br>
<br>
Thanks,<br>
Jon Ashburn<br></blockquote></div><br></div><div class="gmail_extra">I would recommend sticking with c89 as much as possible when dealing with the generation of this tests. This is because using the c++11 support would force many developers on windows that use msvc to haft to upgrade to msvc2012 to be able to compile this source.<br>
</div></div>