On 11/02/2011 12:05 AM, Gabriel Dos Reis wrote:
And I think that "your code won't work in C++11" is a warning that most C++ programmers will be interested in if they are asking for warnings.Even when -std=c++03 -Wall or -std=c++98 -Wall?
Yes. -Wc++0x-compat has been part of -Wall for almost 5 years. If people don't want narrowing warnings, they can use -Wno-narrowing, which is helpfully mentioned in the warnings themselves.
Jason