On Mon, Oct 24, 2011 at 6:47 AM, Paolo Carlini <paolo.carl...@oracle.com> wrote: > Hi, > > the below is a new variant removing -Wc++0x-compat from -Wall (cannot be > added to -Wextra either because bootstrap passes -W) and also, as requested > by Gaby, preventing -Wno-narrowing from suppressing the warning in C++0x > mode (if the user really needs to silence it, -Wno-c++0x-compat works). I > also added a new testcase for that. >
OK with a minor correction. This bit +With -std=c++0x, @option{-Wno-c++0x-compat} can be used to suppress +the diagnostic required by the standard. should not be there. It is currently an accident of implementation detail as opposed to a feature. It needs no advertisement.