[cfe-dev] clang++ some_c++11_source.cpp -std=c++11 -Weverything -Werror

Sean Silva silvas at purdue.edu
Sun Jan 6 10:27:24 PST 2013


-Weverything literally means "everything". -Wc++98-compat is a warning
and is hence part of "everything". Just disable it with
-Wno-c++98-compat (along with any other warnings you run into).

-- Sean Silva

On Sun, Jan 6, 2013 at 10:47 AM, Kosztka Imre Dávid <kosztkaid at gmail.com> wrote:
> Hi,
>
> Why does Weverything include Wc++98-compat when -std=c++11 is applyed?
>
> What other warnings are completly useless when I want to write a c++11 code?
>
> More info here:
> http://stackoverflow.com/questions/14181789/how-to-use-clang-with-std-c11-weverything-werror
>
> Regards,
> Kocka
>
> --
> Name : Kosztka Imre Dávid
> E-mail: kosztkaid at gmail.com
> Phone number: +36309213462
> Mailing address: H-3700, Hungary Kazincbarcika Szeder utca 2.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the cfe-dev mailing list