<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">You should be able to suppress it with pragmas.</div></div>

Try adding this to TestCxxFeatures.cxx just before the test:<br>
<br>
#if defined(__GNUC__) && (__GNUC__ >= 4)<br>
#pragma GCC diagnostic push<br>
#pragma GCC diagnostic ignored "-Wignored-qualifiers"<br>
#endif<br>
<br>
And this just after the test:<br>
<br>
#if defined(__GNUC__) && (__GNUC__ >= 4)<br>
#pragma GCC diagnostic pop<br>
#endif<br>
<br>
There are already suppressions in the file for several other compilers<br>
(clang, icc, msvc).<br>
<span class="HOEnZb"><font color="#888888"><br>
 - David<br>
</font></span></blockquote></div><br><div>Thanks David G - <a href="http://review.source.kitware.com/#/c/3579/">http://review.source.kitware.com/#/c/3579/</a></div>