Re: [C++ PATCH] Don't pedwarn on deprecated or fallthrough attributes (PR c++/79301)

2017-02-15 Thread Jason Merrill
OK. On Fri, Feb 10, 2017 at 2:53 PM, Jakub Jelinek wrote: > Hi! > > The reporter complained that even when __has_cpp_attribute (fallthrough) > and similarly __has_cpp_attribute (deprecated) return true, in pedantic > mode the compiler will error out on those. > > The following patch just removes

[C++ PATCH] Don't pedwarn on deprecated or fallthrough attributes (PR c++/79301)

2017-02-10 Thread Jakub Jelinek
Hi! The reporter complained that even when __has_cpp_attribute (fallthrough) and similarly __has_cpp_attribute (deprecated) return true, in pedantic mode the compiler will error out on those. The following patch just removes the pedwarn, i.e. we accept those attributes as extensions even in C++11