<br><br><div class="gmail_quote">On Sun, Jan 6, 2013 at 7:27 PM, Sean Silva <span dir="ltr"><<a href="mailto:silvas@purdue.edu" target="_blank">silvas@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-Weverything literally means "everything". -Wc++98-compat is a warning<br>
and is hence part of "everything". Just disable it with<br>
-Wno-c++98-compat (along with any other warnings you run into).<br>
<br>
-- Sean Silva<br>
<div><div class="h5"><br></div></div></blockquote><div> </div><div>The important point here is that one might want to compile as C++11 to benefit from optimizations (such as move constructors) whilst still retaining a codebase compatible with older compilers. Therefore it does make sense for c++98-compat to be active even in C++11 mode; after all, in C++98, you would not need it!<br>
<br>-- Matthieu<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
On Sun, Jan 6, 2013 at 10:47 AM, Kosztka Imre Dávid <<a href="mailto:kosztkaid@gmail.com">kosztkaid@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> Why does Weverything include Wc++98-compat when -std=c++11 is applyed?<br>
><br>
> What other warnings are completly useless when I want to write a c++11 code?<br>
><br>
> More info here:<br>
> <a href="http://stackoverflow.com/questions/14181789/how-to-use-clang-with-std-c11-weverything-werror" target="_blank">http://stackoverflow.com/questions/14181789/how-to-use-clang-with-std-c11-weverything-werror</a><br>
><br>
> Regards,<br>
> Kocka<br>
><br>
> --<br>
> Name : Kosztka Imre Dávid<br>
> E-mail: <a href="mailto:kosztkaid@gmail.com">kosztkaid@gmail.com</a><br>
> Phone number: <a href="tel:%2B36309213462" value="+36309213462">+36309213462</a><br>
> Mailing address: H-3700, Hungary Kazincbarcika Szeder utca 2.<br>
><br>
</div></div>> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
><br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br>